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

/external/qemu/distrib/sdl-1.2.15/src/joystick/mint/
H A DSDL_sysjoystick.c692 int numpaddle, i; local
694 numpaddle=0<<1;
695 if (numjoystick==PORTB_ANPAD) numpaddle=1<<1;
697 curstate = jp_paddles[numpaddle]>>1;
698 curstate |= (jp_paddles[numpaddle+1]>>1)<<15;
699 curstate |= ((jp_fires>>numpaddle) & 3)<<30;
703 SDL_PrivateJoystickAxis(joystick,0,jp_paddles[numpaddle] ^ 0x8000);
705 SDL_PrivateJoystickAxis(joystick,1,jp_paddles[numpaddle+1] ^ 0x8000);

Completed in 156 milliseconds