Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/joystick/nds/
DSDL_sysjoystick.c79 int prevbutton=0; variable
119 if((keysd&KEY_A)) {SDL_PrivateJoystickButton(joystick,0,SDL_PRESSED);prevbutton=KEY_A;} in SDL_SYS_JoystickUpdate()
120 if((keysd&KEY_B)) {SDL_PrivateJoystickButton(joystick,1,SDL_PRESSED);prevbutton=KEY_B;} in SDL_SYS_JoystickUpdate()
121 if((keysd&KEY_X)) {SDL_PrivateJoystickButton(joystick,2,SDL_PRESSED);prevbutton=KEY_X;} in SDL_SYS_JoystickUpdate()
122 if((keysd&KEY_Y)) {SDL_PrivateJoystickButton(joystick,3,SDL_PRESSED);prevbutton=KEY_Y;} in SDL_SYS_JoystickUpdate()
123 if((keysd&KEY_SELECT)) {SDL_PrivateJoystickButton(joystick,6,SDL_PRESSED);prevbutton=KEY_SELECT;} in SDL_SYS_JoystickUpdate()
124 if((keysd&KEY_START)) {SDL_PrivateJoystickButton(joystick,7,SDL_PRESSED);prevbutton=KEY_START;} in SDL_SYS_JoystickUpdate()
125 if((keysd&KEY_L)) {SDL_PrivateJoystickButton(joystick,4,SDL_PRESSED);prevbutton=KEY_L;} in SDL_SYS_JoystickUpdate()
126 if((keysd&KEY_R)) {SDL_PrivateJoystickButton(joystick,5,SDL_PRESSED);prevbutton=KEY_R;} in SDL_SYS_JoystickUpdate()
128 if((keysu&KEY_A)) {SDL_PrivateJoystickButton(joystick,0,SDL_RELEASED);prevbutton=0;} in SDL_SYS_JoystickUpdate()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_ikbdevents.c105 int curbutton, prevbutton; in AtariIkbd_PumpEvents() local
108 prevbutton = atari_prevmouseb & (1<<i); in AtariIkbd_PumpEvents()
110 if (curbutton && !prevbutton) { in AtariIkbd_PumpEvents()
113 if (!curbutton && prevbutton) { in AtariIkbd_PumpEvents()
DSDL_xbiosevents.c136 int curbutton, prevbutton; in SDL_AtariXbios_PostMouseEvents() local
139 prevbutton = atari_prevmouseb & (1<<i); in SDL_AtariXbios_PostMouseEvents()
141 if (curbutton && !prevbutton) { in SDL_AtariXbios_PostMouseEvents()
144 if (!curbutton && prevbutton) { in SDL_AtariXbios_PostMouseEvents()
DSDL_ataridevmouse.c138 int curbutton, prevbutton; in SDL_AtariDevMouse_PostMouseEvents() local
141 prevbutton = prev_mouseb & (1<<i); in SDL_AtariDevMouse_PostMouseEvents()
143 if (curbutton && !prevbutton) { in SDL_AtariDevMouse_PostMouseEvents()
146 if (!curbutton && prevbutton) { in SDL_AtariDevMouse_PostMouseEvents()
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
DSDL_gemevents.c351 int curbutton, prevbutton; in do_mouse() local
354 prevbutton = prevmouseb & (1<<i); in do_mouse()
356 if (curbutton && !prevbutton) { in do_mouse()
359 if (!curbutton && prevbutton) { in do_mouse()