Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/joystick/mint/
DSDL_sysjoystick.c622 int fire_shift=0,dir_shift=0; in SDL_SYS_JoystickUpdate() local
624 if (numjoystick==PORTA_JOY0) { fire_shift=0; dir_shift=0; } in SDL_SYS_JoystickUpdate()
625 if (numjoystick==PORTA_JOY1) { fire_shift=1; dir_shift=4; } in SDL_SYS_JoystickUpdate()
626 if (numjoystick==PORTB_JOY0) { fire_shift=2; dir_shift=8; } in SDL_SYS_JoystickUpdate()
627 if (numjoystick==PORTB_JOY1) { fire_shift=3; dir_shift=12; } in SDL_SYS_JoystickUpdate()
630 curstate |= ((jp_fires>>fire_shift) & 1)<<4; in SDL_SYS_JoystickUpdate()