Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
DSDL_sysjoystick.c160 static Uint16 jp_paddles[4]; variable
554 curstate = jp_paddles[numpaddle]>>1; in SDL_SYS_JoystickUpdate()
555 curstate |= (jp_paddles[numpaddle+1]>>1)<<15; 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()
644 jp_paddles[0] = (tmp<<8) | tmp; in UpdateJoypads()
646 jp_paddles[1] = (tmp<<8) | tmp; in UpdateJoypads()
648 jp_paddles[2] = (tmp<<8) | tmp; in UpdateJoypads()
650 jp_paddles[3] = (tmp<<8) | tmp; in UpdateJoypads()