Home | History | Annotate | Download | only in linux

Lines Matching refs:balls

166    axes, hats, balls, buttons
281 /* The current linux joystick driver maps balls to two axes */
284 } *balls;
497 hats or balls. Unfortunately, the event devices can't
568 joystick->hwdata->balls = (struct hwdata_ball *)SDL_malloc(
570 if ( joystick->hwdata->balls == NULL ) {
574 joystick->hwdata->balls[i].axis[0] = 0;
575 joystick->hwdata->balls[i].axis[1] = 0;
652 /* Remap hats and balls */
983 stick->hwdata->balls[ball].axis[axis] += value;
1170 xrel = joystick->hwdata->balls[i].axis[0];
1171 yrel = joystick->hwdata->balls[i].axis[1];
1173 joystick->hwdata->balls[i].axis[0] = 0;
1174 joystick->hwdata->balls[i].axis[1] = 0;
1199 if ( joystick->hwdata->balls ) {
1200 SDL_free(joystick->hwdata->balls);