Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
DSDL_sysjoystick.c357 Uint32 curstate,prevstate; in SDL_SYS_JoystickUpdate() local
373 curstate = 0; in SDL_SYS_JoystickUpdate()
376 curstate = SDL_AtariIkbd_joystick & 0xff; in SDL_SYS_JoystickUpdate()
379 curstate = SDL_AtariXbios_joystick & 0xff; in SDL_SYS_JoystickUpdate()
382 if (curstate != prevstate) { in SDL_SYS_JoystickUpdate()
384 if (curstate & IKBD_JOY_LEFT) { in SDL_SYS_JoystickUpdate()
387 if (curstate & IKBD_JOY_RIGHT) { in SDL_SYS_JoystickUpdate()
390 if (curstate & IKBD_JOY_UP) { in SDL_SYS_JoystickUpdate()
393 if (curstate & IKBD_JOY_DOWN) { in SDL_SYS_JoystickUpdate()
399 if ((curstate & IKBD_JOY_FIRE) && !(prevstate & IKBD_JOY_FIRE)) { in SDL_SYS_JoystickUpdate()
[all …]