Home
last modified time | relevance | path

Searched refs:ball (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c719 SDL_JoystickGetBall(SDL_Joystick * joystick, int ball, int *dx, int *dy) in SDL_JoystickGetBall() argument
728 if (ball < joystick->nballs) { in SDL_JoystickGetBall()
730 *dx = joystick->balls[ball].dx; in SDL_JoystickGetBall()
733 *dy = joystick->balls[ball].dy; in SDL_JoystickGetBall()
735 joystick->balls[ball].dx = 0; in SDL_JoystickGetBall()
736 joystick->balls[ball].dy = 0; in SDL_JoystickGetBall()
1265 SDL_PrivateJoystickBall(SDL_Joystick * joystick, Uint8 ball, in SDL_PrivateJoystickBall() argument
1271 if (ball >= joystick->nballs) { in SDL_PrivateJoystickBall()
1281 joystick->balls[ball].dx += xrel; in SDL_PrivateJoystickBall()
1282 joystick->balls[ball].dy += yrel; in SDL_PrivateJoystickBall()
[all …]
A DSDL_joystick_c.h103 Uint8 ball, Sint16 xrel, Sint16 yrel);
/AliOS-Things-master/components/SDL2/include/
A DSDL_joystick.h412 int ball, int *dx, int *dy);
A DSDL_events.h323 Uint8 ball; /**< The joystick trackball index */ member
/AliOS-Things-master/components/SDL2/test/
A Dtestjoystick.c155 event.jball.ball, event.jball.xrel, event.jball.yrel); in loop()
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick.c918 HandleBall(SDL_Joystick * stick, Uint8 ball, int axis, int value) in HandleBall() argument
920 stick->hwdata->balls[ball].axis[axis] += value; in HandleBall()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_events.c245 (uint) event->jball.ball, (int) event->jball.xrel, (int) event->jball.yrel); in SDL_LogEvent()
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c1370 event->jball.which, event->jball.ball, event->jball.xrel, in SDLTest_PrintEvent()

Completed in 20 milliseconds