Searched refs:ball (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_joystick.c | 719 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 D | SDL_joystick_c.h | 103 Uint8 ball, Sint16 xrel, Sint16 yrel);
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_joystick.h | 412 int ball, int *dx, int *dy);
|
A D | SDL_events.h | 323 Uint8 ball; /**< The joystick trackball index */ member
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testjoystick.c | 155 event.jball.ball, event.jball.xrel, event.jball.yrel); in loop()
|
/AliOS-Things-master/components/SDL2/src/joystick/linux/ |
A D | SDL_sysjoystick.c | 918 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 D | SDL_events.c | 245 (uint) event->jball.ball, (int) event->jball.xrel, (int) event->jball.yrel); in SDL_LogEvent()
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_common.c | 1370 event->jball.which, event->jball.ball, event->jball.xrel, in SDLTest_PrintEvent()
|
Completed in 20 milliseconds