HomeSort by relevance Sort by last modified time
    Searched full:numpaddle (Results 1 - 1 of 1) sorted by null

  /external/qemu/distrib/sdl-1.2.15/src/joystick/mint/
SDL_sysjoystick.c 692 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 63 milliseconds