Searched refs:nballs (Results 1 – 11 of 11) sorted by relevance
/AliOS-Things-master/components/SDL2/src/joystick/android/ |
A D | SDL_sysjoystick_c.h | 35 …_id, int product_id, SDL_bool is_accelerometer, int button_mask, int naxes, int nhats, int nballs); 47 int nbuttons, naxes, nhats, nballs; member
|
A D | SDL_sysjoystick.c | 325 …r_id, int product_id, SDL_bool is_accelerometer, int button_mask, int naxes, int nhats, int nballs) in Android_AddJoystick() argument 430 item->nballs = nballs; in Android_AddJoystick() 623 joystick->nballs = item->nballs; in ANDROID_JoystickOpen()
|
/AliOS-Things-master/components/SDL2/src/joystick/alios/ |
A D | SDL_sysjoystick.c | 133 joystick->nballs = 1; in AliOS_JoystickOpen() 164 for (i = 0; i < joystick->nballs; ++i) { in AliOS_JoystickUpdate()
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_sysjoystick.h | 54 int nballs; /* Number of trackballs on the joystick */ member
|
A D | SDL_joystick.c | 437 if (joystick->nballs > 0) { in SDL_JoystickOpen() 438 … joystick->balls = (struct balldelta *) SDL_calloc(joystick->nballs, sizeof(*joystick->balls)); in SDL_JoystickOpen() 445 || ((joystick->nballs > 0) && !joystick->balls) in SDL_JoystickOpen() 641 return joystick->nballs; in SDL_JoystickNumBalls() 728 if (ball < joystick->nballs) { in SDL_JoystickGetBall() 738 return SDL_SetError("Joystick only has %d balls", joystick->nballs); in SDL_JoystickGetBall() 1271 if (ball >= joystick->nballs) { in SDL_PrivateJoystickBall()
|
/AliOS-Things-master/components/SDL2/src/joystick/linux/ |
A D | SDL_sysjoystick.c | 654 (struct hwdata_ball *) SDL_malloc(joystick->nballs * in allocate_balldata() 659 for (i = 0; i < joystick->nballs; ++i) { in allocate_balldata() 759 ++joystick->nballs; in ConfigJoystick() 768 if (joystick->nballs > 0) { in ConfigJoystick() 770 joystick->nballs = 0; in ConfigJoystick() 1120 for (i = 0; i < joystick->nballs; ++i) { in LINUX_JoystickUpdate()
|
/AliOS-Things-master/components/SDL2/src/joystick/bsd/ |
A D | SDL_sysjoystick.c | 377 joy->nballs = 0; 454 joy->nballs = 0; 510 if (joy->naxes == 0 && joy->nbuttons == 0 && joy->nhats == 0 && joy->nballs == 0) {
|
/AliOS-Things-master/components/SDL2/src/joystick/emscripten/ |
A D | SDL_sysjoystick.c | 325 joystick->nballs = 0; in EMSCRIPTEN_JoystickOpen()
|
/AliOS-Things-master/components/SDL2/src/joystick/darwin/ |
A D | SDL_sysjoystick.c | 787 joystick->nballs = 0; in DARWIN_JoystickOpen()
|
/AliOS-Things-master/components/SDL2/src/core/android/ |
A D | SDL_android.c | 249 jboolean is_accelerometer, jint button_mask, jint naxes, jint nhats, jint nballs); 942 jint button_mask, jint naxes, jint nhats, jint nballs) in SDL_JAVA_CONTROLLER_INTERFACE() 948 …vendor_id, product_id, is_accelerometer ? SDL_TRUE : SDL_FALSE, button_mask, naxes, nhats, nballs); in SDL_JAVA_CONTROLLER_INTERFACE()
|
/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/ |
A D | SDL_sysjoystick.m | 523 joystick->nballs = 0; method in SDL_Joystick
|
Completed in 24 milliseconds