OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:numpaddle
(Results
1 - 1
of
1
) sorted by null
/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
SDL_sysjoystick.c
549
int
numpaddle
, i;
local
551
numpaddle
=0<<1;
552
if (numjoystick==PORTB_ANPAD)
numpaddle
=1<<1;
554
curstate = jp_paddles[
numpaddle
]>>1;
555
curstate |= (jp_paddles[
numpaddle
+1]>>1)<<15;
556
curstate |= ((jp_fires>>
numpaddle
) & 3)<<30;
560
SDL_PrivateJoystickAxis(joystick,0,jp_paddles[
numpaddle
] ^ 0x8000);
562
SDL_PrivateJoystickAxis(joystick,1,jp_paddles[
numpaddle
+1] ^ 0x8000);
Completed in 801 milliseconds