/third_party/flutter/skia/third_party/externals/sdl/src/joystick/ |
D | SDL_joystick.c | 148 if (joystick->nhats > 0) { in SDL_JoystickOpen() 150 (joystick->nhats * sizeof(Uint8)); in SDL_JoystickOpen() 161 || ((joystick->nhats > 0) && !joystick->hats) in SDL_JoystickOpen() 173 SDL_memset(joystick->hats, 0, joystick->nhats * sizeof(Uint8)); in SDL_JoystickOpen() 235 return (joystick->nhats); in SDL_JoystickNumHats() 293 if (hat < joystick->nhats) { in SDL_JoystickGetHat() 296 SDL_SetError("Joystick only has %d hats", joystick->nhats); in SDL_JoystickGetHat() 613 if (hat >= joystick->nhats) { in SDL_PrivateJoystickHat() 764 for (i = 0; i < joystick->nhats; i++) { in SDL_JoystickUpdate()
|
D | SDL_sysjoystick.h | 41 int nhats; /* Number of hats on the joystick */ member
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/android/ |
D | SDL_sysjoystick_c.h | 31 …e_id, const char *name, SDL_bool is_accelerometer, int nbuttons, int naxes, int nhats, int nballs); 43 int nbuttons, naxes, nhats, nballs; member
|
D | SDL_sysjoystick.c | 247 …ce_id, const char *name, SDL_bool is_accelerometer, int nbuttons, int naxes, int nhats, int nballs) in Android_AddJoystick() argument 282 item->nhats = nhats; in Android_AddJoystick() 461 joystick->nhats = item->nhats; in SDL_SYS_JoystickOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/ |
D | SDL_haikujoystick.cc | 140 joystick->nhats = stick->CountHats(); in SDL_SYS_JoystickOpen() 145 SDL_malloc(joystick->nhats * sizeof(uint8)); in SDL_SYS_JoystickOpen() 207 for (i = 0; i < joystick->nhats; ++i) { in SDL_SYS_JoystickUpdate()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/iphoneos/ |
D | SDL_sysjoystick_c.h | 45 int nhats; member
|
D | SDL_sysjoystick.m | 121 device->nhats = 1; /* d-pad */ 125 device->nhats = 1; /* d-pad */ 131 device->nhats = 0; /* apparently the touch surface-as-dpad is buggy */ 174 device->nhats = 0; 370 joystick->nhats = device->nhats; 575 if (joystick->nhats > 0) {
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 400 (struct hwdata_hat *) SDL_malloc(joystick->nhats * in allocate_hatdata() 405 for (i = 0; i < joystick->nhats; ++i) { in allocate_hatdata() 513 ++joystick->nhats; in ConfigJoystick() 521 if (joystick->nhats > 0) { in ConfigJoystick() 523 joystick->nhats = 0; in ConfigJoystick()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/ |
D | SDL_sysjoystick.c | 312 joy->nhats = 0; 391 joy->nhats = 0; 424 joy->nhats++; 444 if (joy->naxes == 0 && joy->nbuttons == 0 && joy->nhats == 0 && joy->nballs == 0) {
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/ |
D | SDL_mmjoystick.c | 267 joystick->nhats = 1; in SDL_SYS_JoystickOpen() 269 joystick->nhats = 0; in SDL_SYS_JoystickOpen()
|
D | SDL_xinputjoystick.c | 215 joystick->nhats = 1; in SDL_XINPUT_JoystickOpen()
|
D | SDL_dinputjoystick.c | 432 in->num = joystick->nhats; in EnumDevObjectsCallback() 434 joystick->nhats++; in EnumDevObjectsCallback()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/psp/ |
D | SDL_sysjoystick.c | 175 joystick->nhats = 0; in SDL_SYS_JoystickOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/emscripten/ |
D | SDL_sysjoystick.c | 288 joystick->nhats = 0; in SDL_SYS_JoystickOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/darwin/ |
D | SDL_sysjoystick.c | 636 joystick->nhats = device->hats; in SDL_SYS_JoystickOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/android/ |
D | SDL_android.c | 210 jint nbuttons, jint naxes, jint nhats, jint nballs) in Java_org_libsdl_app_SDLActivity_nativeAddJoystick() argument 215 … Android_AddJoystick(device_id, name, (SDL_bool) is_accelerometer, nbuttons, naxes, nhats, nballs); in Java_org_libsdl_app_SDLActivity_nativeAddJoystick()
|
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/ |
D | SDLActivity.java | 438 int naxes, int nhats, int nballs); in nativeAddJoystick() argument
|