Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/joystick/
DSDL_joystick.c128 if ( joystick->naxes > 0 ) { in SDL_JoystickOpen()
130 (joystick->naxes*sizeof(Sint16)); in SDL_JoystickOpen()
144 if ( ((joystick->naxes > 0) && !joystick->axes) in SDL_JoystickOpen()
155 joystick->naxes*sizeof(Sint16)); in SDL_JoystickOpen()
230 return(joystick->naxes); in SDL_JoystickNumAxes()
276 if ( axis < joystick->naxes ) { in SDL_JoystickGetAxis()
279 SDL_SetError("Joystick only has %d axes", joystick->naxes); in SDL_JoystickGetAxis()
437 if (axis >= joystick->naxes) { in SDL_PrivateJoystickAxis()
DSDL_sysjoystick.h33 int naxes; /* Number of axis controls on the joystick */ member
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c45 int naxes; member
131 int naxes; member
593 joystick->naxes = 2; in JS_ConfigJoystick()
595 joystick->naxes = n; in JS_ConfigJoystick()
610 joystick->naxes = tmp_naxes; in JS_ConfigJoystick()
621 joystick->naxes = special_joysticks[i].naxes; in JS_ConfigJoystick()
643 joystick->naxes = tmp_naxes; in JS_ConfigJoystick()
722 joystick->hwdata->abs_map[i] = joystick->naxes; in EV_ConfigJoystick()
738 ++joystick->naxes; in EV_ConfigJoystick()
780 joystick->naxes = layout->naxes; in ConfigLogicalJoystick()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
DSDL_bejoystick.cc124 joystick->naxes = stick->CountAxes(); in SDL_SYS_JoystickOpen()
128 SDL_malloc(joystick->naxes*sizeof(int16)); in SDL_SYS_JoystickOpen()
179 for ( i=0; i<joystick->naxes; ++i ) { in SDL_SYS_JoystickUpdate()
/external/qemu/distrib/sdl-1.2.15/src/joystick/macos/
DSDL_sysjoystick.c207 joystick->naxes = numAxis; in SDL_SYS_JoystickOpen()
232 for(i = 0, j = 0; i < joystick->naxes; i++, j++) in SDL_SYS_JoystickUpdate()
/external/qemu/distrib/sdl-1.2.15/src/joystick/riscos/
DSDL_sysjoystick.c102 joystick->naxes=2; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.15/src/joystick/win32/
DSDL_mmjoystick.c238 joystick->naxes = SYS_Joystick[index].wNumAxes; in SDL_SYS_JoystickOpen()
305 for (i = 0; i < joystick->naxes; i++) { in SDL_SYS_JoystickUpdate()
/external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/
DSDL_sysjoystick.c287 joy->naxes = 2;
335 joy->naxes = 0;
387 hw->axis_map[i] = joy->naxes++;
/external/qemu/distrib/sdl-1.2.15/src/joystick/nds/
DSDL_sysjoystick.c68 joystick->naxes=2; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.15/src/joystick/dc/
DSDL_sysjoystick.c101 joystick->naxes = MAX_AXES; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.15/src/joystick/mint/
DSDL_sysjoystick.c417 joystick->naxes=0; in SDL_SYS_JoystickOpen()
436 joystick->naxes=2; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.15/src/joystick/darwin/
DSDL_sysjoystick.c709 joystick->naxes = device->axes; in SDL_SYS_JoystickOpen()