/third_party/flutter/skia/third_party/externals/sdl/src/joystick/android/ |
D | SDL_sysjoystick.c | 247 Android_AddJoystick(int device_id, const char *name, SDL_bool is_accelerometer, int nbuttons, int n… in Android_AddJoystick() argument 275 if (nbuttons > -1) { in Android_AddJoystick() 276 item->nbuttons = nbuttons; in Android_AddJoystick() 279 item->nbuttons = ANDROID_MAX_NBUTTONS; in Android_AddJoystick() 463 joystick->nbuttons = item->nbuttons; in SDL_SYS_JoystickOpen()
|
D | SDL_sysjoystick_c.h | 31 …oystick(int device_id, const char *name, SDL_bool is_accelerometer, int nbuttons, int naxes, int n… 43 int nbuttons, naxes, nhats, nballs; member
|
/third_party/libinput/test/ |
D | test-pad.c | 160 unsigned int nbuttons = 0; in START_TEST() local 169 nbuttons++; in START_TEST() 173 nbuttons); in START_TEST() 784 int ngroups, nbuttons, nrings, nstrips; in START_TEST() local 790 nbuttons = libinput_device_tablet_pad_get_num_buttons(device); in START_TEST() 794 for (b = 0; b < nbuttons; b++) { in START_TEST() 843 int ngroups, nbuttons, nrings, nstrips; in START_TEST() local 850 nbuttons = libinput_device_tablet_pad_get_num_buttons(device); in START_TEST() 857 nbuttons); in START_TEST() 860 nbuttons + 1); in START_TEST() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/ |
D | SDL_joystick.c | 156 if (joystick->nbuttons > 0) { in SDL_JoystickOpen() 158 (joystick->nbuttons * sizeof(Uint8)); in SDL_JoystickOpen() 163 || ((joystick->nbuttons > 0) && !joystick->buttons)) { in SDL_JoystickOpen() 180 SDL_memset(joystick->buttons, 0, joystick->nbuttons * sizeof(Uint8)); in SDL_JoystickOpen() 259 return (joystick->nbuttons); in SDL_JoystickNumButtons() 341 if (button < joystick->nbuttons) { in SDL_JoystickGetButton() 344 SDL_SetError("Joystick only has %d buttons", joystick->nbuttons); in SDL_JoystickGetButton() 704 if (button >= joystick->nbuttons) { in SDL_PrivateJoystickButton() 760 for (i = 0; i < joystick->nbuttons; i++) { in SDL_JoystickUpdate()
|
D | SDL_sysjoystick.h | 50 int nbuttons; /* Number of buttons on the joystick */ member
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/emscripten/ |
D | SDL_sysjoystick.c | 78 item->nbuttons = gamepadEvent->numButtons; in Emscripten_JoyStickConnected() 87 for( i = 0; i < item->nbuttons; i++) { in Emscripten_JoyStickConnected() 291 joystick->nbuttons = item->nbuttons; in SDL_SYS_JoystickOpen() 319 for(i = 0; i < item->nbuttons; i++) { in SDL_SYS_JoystickUpdate()
|
D | SDL_sysjoystick_c.h | 38 int nbuttons; member
|
/third_party/libinput/tools/ |
D | libinput-list-devices.c | 248 int nbuttons, nrings, nstrips, ngroups, nmodes; in print_pad_info() local 251 nbuttons = libinput_device_tablet_pad_get_num_buttons(device); in print_pad_info() 262 printf(" Buttons: %d\n", nbuttons); in print_pad_info()
|
D | libinput-debug-events.c | 231 int nbuttons, nstrips, nrings, ngroups; in print_device_options() local 233 nbuttons = libinput_device_tablet_pad_get_num_buttons(dev); in print_device_options() 239 nbuttons, in print_device_options()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/iphoneos/ |
D | SDL_sysjoystick.m | 122 device->nbuttons = 7; /* ABXY, shoulder buttons, pause button */ 126 device->nbuttons = 7; /* ABXY, shoulder buttons, pause button */ 132 device->nbuttons = 3; /* AX, pause button */ 175 device->nbuttons = 0; 355 This should fill the nbuttons and naxes fields of the joystick structure. 371 joystick->nbuttons = device->nbuttons; 582 Uint8 pausebutton = joystick->nbuttons - 1;
|
D | SDL_sysjoystick_c.h | 44 int nbuttons; member
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/ |
D | SDL_haikujoystick.cc | 138 joystick->nbuttons = stick->CountButtons(); in SDL_SYS_JoystickOpen() 214 for (i = 0; i < joystick->nbuttons; ++i) { in SDL_SYS_JoystickUpdate()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/ |
D | SDL_sysjoystick.c | 311 joy->nbuttons = 2; 390 joy->nbuttons = 0; 429 joy->nbuttons++; 444 if (joy->naxes == 0 && joy->nbuttons == 0 && joy->nhats == 0 && joy->nballs == 0) {
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 449 joystick->hwdata->key_map[i - BTN_MISC] = joystick->nbuttons; in ConfigJoystick() 450 ++joystick->nbuttons; in ConfigJoystick() 458 joystick->hwdata->key_map[i - BTN_MISC] = joystick->nbuttons; in ConfigJoystick() 459 ++joystick->nbuttons; in ConfigJoystick()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/ |
D | SDL_xinputjoystick.c | 211 joystick->nbuttons = 15; in SDL_XINPUT_JoystickOpen() 214 joystick->nbuttons = 11; in SDL_XINPUT_JoystickOpen()
|
D | SDL_mmjoystick.c | 264 joystick->nbuttons = SYS_Joystick[index].wNumButtons; in SDL_SYS_JoystickOpen() 356 for (i = 0; i < joystick->nbuttons; ++i) { in SDL_SYS_JoystickUpdate()
|
D | SDL_dinputjoystick.c | 427 in->num = joystick->nbuttons; in EnumDevObjectsCallback() 429 joystick->nbuttons++; in EnumDevObjectsCallback()
|
/third_party/libinput/src/ |
D | evdev-tablet-pad.h | 72 unsigned int nbuttons; member
|
D | evdev-tablet-pad.c | 582 pad->nbuttons = map; in pad_init_buttons_from_libwacom() 622 pad->nbuttons = map; in pad_init_buttons_from_kernel() 770 return pad->nbuttons; in evdev_device_tablet_pad_get_num_buttons()
|
D | evdev-tablet-pad-leds.c | 560 if (pad->nbuttons > 32) { in pad_init_leds() 563 pad->nbuttons); in pad_init_leds()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/psp/ |
D | SDL_sysjoystick.c | 173 joystick->nbuttons = 14; in SDL_SYS_JoystickOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/darwin/ |
D | SDL_sysjoystick.c | 638 joystick->nbuttons = device->buttons; 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 …retval = Android_AddJoystick(device_id, name, (SDL_bool) is_accelerometer, nbuttons, naxes, nhats,… in Java_org_libsdl_app_SDLActivity_nativeAddJoystick()
|
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/ |
D | SDLActivity.java | 437 int is_accelerometer, int nbuttons, in nativeAddJoystick() argument
|