Searched refs:nballs (Results 1 – 10 of 10) sorted by relevance
47 int nballs; member130 int nballs; member556 joystick->nballs * sizeof(struct hwdata_ball)); in allocate_balldata()560 for ( i=0; i<joystick->nballs; ++i ) { in allocate_balldata()611 joystick->nballs = special_joysticks[i].nballs; in JS_ConfigJoystick()633 joystick->nballs = tmp_nballs; in JS_ConfigJoystick()647 if ( joystick->nballs > 0 ) { in JS_ConfigJoystick()649 joystick->nballs = 0; in JS_ConfigJoystick()738 ++joystick->nballs; in EV_ConfigJoystick()747 if ( joystick->nballs > 0 ) { in EV_ConfigJoystick()[all …]
130 if ( joystick->nballs > 0 ) { in SDL_JoystickOpen()132 (joystick->nballs*sizeof(*joystick->balls)); in SDL_JoystickOpen()140 || ((joystick->nballs > 0) && !joystick->balls) in SDL_JoystickOpen()156 joystick->nballs*sizeof(*joystick->balls)); in SDL_JoystickOpen()250 return(joystick->nballs); in SDL_JoystickNumBalls()314 if ( ball < joystick->nballs ) { in SDL_JoystickGetBall()324 SDL_SetError("Joystick only has %d balls", joystick->nballs); in SDL_JoystickGetBall()
39 int nballs; /* Number of trackballs on the joystick */ member
209 joystick->nballs = numBalls; in SDL_SYS_JoystickOpen()286 for(i = 0; i < joystick->nballs; i++, j++) in SDL_SYS_JoystickUpdate()
101 joystick->nballs=0; in SDL_SYS_JoystickOpen()
134 joystick->nballs=0; in SDL_SYS_JoystickOpen()
277 joy->nballs = 0; in SDL_SYS_JoystickOpen()321 joy->nballs = 0; in SDL_SYS_JoystickOpen()
324 joystick->nballs=0; in SDL_SYS_JoystickOpen()
711 joystick->nballs = 0; in SDL_SYS_JoystickOpen()
370 joystick->nballs = 0; /* No support for balls at this time */ in SDL_SYS_JoystickOpen()