Home
last modified time | relevance | path

Searched refs:numpaddle (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
DSDL_sysjoystick.c549 int numpaddle, i; in SDL_SYS_JoystickUpdate() local
551 numpaddle=0<<1; in SDL_SYS_JoystickUpdate()
552 if (numjoystick==PORTB_ANPAD) numpaddle=1<<1; in SDL_SYS_JoystickUpdate()
554 curstate = jp_paddles[numpaddle]>>1; in SDL_SYS_JoystickUpdate()
555 curstate |= (jp_paddles[numpaddle+1]>>1)<<15; in SDL_SYS_JoystickUpdate()
556 curstate |= ((jp_fires>>numpaddle) & 3)<<30; in SDL_SYS_JoystickUpdate()
560 SDL_PrivateJoystickAxis(joystick,0,jp_paddles[numpaddle] ^ 0x8000); in SDL_SYS_JoystickUpdate()
562 SDL_PrivateJoystickAxis(joystick,1,jp_paddles[numpaddle+1] ^ 0x8000); in SDL_SYS_JoystickUpdate()