Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
DSDL_sysjoystick.c47 int nballs; member
130 int nballs; member
556 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 …]
/external/qemu/distrib/sdl-1.2.12/src/joystick/
DSDL_joystick.c130 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()
DSDL_sysjoystick.h39 int nballs; /* Number of trackballs on the joystick */ member
/external/qemu/distrib/sdl-1.2.12/src/joystick/macos/
DSDL_sysjoystick.c209 joystick->nballs = numBalls; in SDL_SYS_JoystickOpen()
286 for(i = 0; i < joystick->nballs; i++, j++) in SDL_SYS_JoystickUpdate()
/external/qemu/distrib/sdl-1.2.12/src/joystick/riscos/
DSDL_sysjoystick.c101 joystick->nballs=0; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.12/src/joystick/amigaos/
DSDL_sysjoystick.c134 joystick->nballs=0; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.12/src/joystick/bsd/
DSDL_sysjoystick.c277 joy->nballs = 0; in SDL_SYS_JoystickOpen()
321 joy->nballs = 0; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
DSDL_sysjoystick.c324 joystick->nballs=0; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/
DSDL_sysjoystick.c711 joystick->nballs = 0; in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/
DSDL_sysjoystick.c370 joystick->nballs = 0; /* No support for balls at this time */ in SDL_SYS_JoystickOpen()