HomeSort by relevance Sort by last modified time
    Searched refs:balls (Results 1 - 4 of 4) sorted by null

  /external/qemu/distrib/sdl-1.2.12/src/joystick/
SDL_sysjoystick.h 43 } *balls; /* Current ball motion deltas */ member in struct:_SDL_Joystick
SDL_joystick.c 131 joystick->balls = (struct balldelta *)SDL_malloc
132 (joystick->nballs*sizeof(*joystick->balls));
140 || ((joystick->nballs > 0) && !joystick->balls)
154 if ( joystick->balls ) {
155 SDL_memset(joystick->balls, 0,
156 joystick->nballs*sizeof(*joystick->balls));
316 *dx = joystick->balls[ball].dx;
319 *dy = joystick->balls[ball].dy;
321 joystick->balls[ball].dx = 0;
322 joystick->balls[ball].dy = 0
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/joystick/os2/
SDL_sysjoystick.c 46 #define MAX_BALLS 0 /* and 0 balls - OS/2 doesn't support it */
63 char balls; // Number of buttons member in struct:SYS_JoyData_s
92 unsigned int balls; member in struct:_joycfg
207 /* Define number of balls */
208 if (joycfg.balls > MAX_BALLS) joycfg.balls = MAX_BALLS;
209 SYS_JoyData[0].balls = joycfg.balls;
236 SYS_JoyData[0].balls = 0;
254 SYS_JoyData[1].balls = 0
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
SDL_sysjoystick.c 163 axes, hats, balls, buttons
278 /* The current linux joystick driver maps balls to two axes */
281 } *balls; member in struct:joystick_hwdata
484 hats or balls. Unfortunately, the event devices can't
555 joystick->hwdata->balls = (struct hwdata_ball *)SDL_malloc(
557 if ( joystick->hwdata->balls == NULL ) {
561 joystick->hwdata->balls[i].axis[0] = 0;
562 joystick->hwdata->balls[i].axis[1] = 0;
640 /* Remap hats and balls */
964 stick->hwdata->balls[ball].axis[axis] += value
    [all...]

Completed in 104 milliseconds