Searched refs:naxes (Results 1 – 12 of 12) sorted by relevance
128 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()
33 int naxes; /* Number of axis controls on the joystick */ member
45 int naxes; member131 int naxes; member593 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 …]
124 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()
207 joystick->naxes = numAxis; in SDL_SYS_JoystickOpen()232 for(i = 0, j = 0; i < joystick->naxes; i++, j++) in SDL_SYS_JoystickUpdate()
102 joystick->naxes=2; in SDL_SYS_JoystickOpen()
238 joystick->naxes = SYS_Joystick[index].wNumAxes; in SDL_SYS_JoystickOpen()305 for (i = 0; i < joystick->naxes; i++) { in SDL_SYS_JoystickUpdate()
287 joy->naxes = 2;335 joy->naxes = 0;387 hw->axis_map[i] = joy->naxes++;
68 joystick->naxes=2; in SDL_SYS_JoystickOpen()
101 joystick->naxes = MAX_AXES; in SDL_SYS_JoystickOpen()
417 joystick->naxes=0; in SDL_SYS_JoystickOpen()436 joystick->naxes=2; in SDL_SYS_JoystickOpen()
709 joystick->naxes = device->axes; in SDL_SYS_JoystickOpen()