/third_party/libinput/tools/ |
H A D | libinput-debug-events.c | 209 printq("-button"); in print_device_options() 372 int button; in print_pointer_button_event() local 376 button = libinput_event_pointer_get_button(p); in print_pointer_button_event() 377 buttonname = libevdev_event_code_get_name(EV_KEY, button); in print_pointer_button_event() 382 button, in print_pointer_button_event() 475 int button; in print_tablet_button_event() local 479 button = libinput_event_tablet_tool_get_button(p); in print_tablet_button_event() 480 buttonname = libevdev_event_code_get_name(EV_KEY, button); in print_tablet_button_event() 484 button, in print_tablet_button_event() 726 unsigned int button, mod in print_tablet_pad_button_event() local [all...] |
/kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
H A D | iforce-ff.c | 167 static unsigned char find_button(struct iforce *iforce, signed short button) in find_button() argument 172 if (iforce->type->btn[i] == button) in find_button() 279 || old->trigger.button != new->trigger.button in need_core() 291 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, in make_core() 302 data[2] = LO(axes) | find_button(iforce, button); in make_core() 388 effect->trigger.button, in iforce_upload_periodic() 448 effect->trigger.button, in iforce_upload_constant() 513 effect->trigger.button, effect->trigger.interval, in iforce_upload_condition() 290 make_core(struct iforce* iforce, u16 id, u16 mod_id1, u16 mod_id2, u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, u16 interval, u16 direction) make_core() argument
|
/kernel/linux/linux-6.6/drivers/input/joystick/iforce/ |
H A D | iforce-ff.c | 167 static unsigned char find_button(struct iforce *iforce, signed short button) in find_button() argument 172 if (iforce->type->btn[i] == button) in find_button() 279 || old->trigger.button != new->trigger.button in need_core() 291 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, in make_core() 302 data[2] = LO(axes) | find_button(iforce, button); in make_core() 388 effect->trigger.button, in iforce_upload_periodic() 448 effect->trigger.button, in iforce_upload_constant() 513 effect->trigger.button, effect->trigger.interval, in iforce_upload_condition() 290 make_core(struct iforce* iforce, u16 id, u16 mod_id1, u16 mod_id2, u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, u16 interval, u16 direction) make_core() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
H A D | test_gamepad.py | 31 def assert_button(self, button): 37 key = libevdev.evbit(uhdev.buttons_map[button]) 39 buttons[button] = True 47 buttons[button] = False 56 """check for button reliability.""" 63 """check for button reliability when pressing 2 buttons"""
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_help_about.py | 58 for button, printer, name in button_sources: 61 button.invoke() 77 for button, filename, name in button_sources: 79 button.invoke() 114 """Simulate user clicking [Close] button"""
|
H A D | test_searchbase.py | 122 for spec, button in zip (options, frame.pack_slaves()): 124 self.assertEqual(button['text'], label) 134 for spec, button in zip(others, buttons): 136 self.assertEqual(button['text'], label) 138 # hit other button, then this one 139 # indexes depend on button order 151 # Look for close button command in buttonframe
|
/third_party/libinput/src/ |
H A D | evdev-middle-button.c | 34 * doc/middle-button-emulation-state-machine.svg (generated with 40 * emulated middle button clicks, all other button events are passed 132 int button, in middlebutton_post_event() 137 button, in middlebutton_post_event() 549 "Invalid middle button state %d\n", in evdev_middlebutton_handle_event() 580 int button, in evdev_middlebutton_filter_button() 586 unsigned int btnbit = (button - BTN_LEFT); in evdev_middlebutton_filter_button() 592 switch (button) { in evdev_middlebutton_filter_button() 606 /* BTN_MIDDLE counts as "other" and resets middle button in evdev_middlebutton_filter_button() 130 middlebutton_post_event(struct evdev_device *device, uint64_t now, int button, enum libinput_button_state state) middlebutton_post_event() argument 578 evdev_middlebutton_filter_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_middlebutton_filter_button() argument [all...] |
H A D | libinput.c | 183 uint32_t button; member 211 uint32_t button; member 230 } button; member 676 return event->button; in libinput_event_pointer_get_button() 1615 return event->button; in libinput_event_tablet_tool_get_button() 2267 int32_t button, in update_seat_button_count() 2270 assert(button >= 0 && button <= KEY_MAX); in update_seat_button_count() 2274 return ++seat->button_count[button]; in update_seat_button_count() 2277 if (seat->button_count[button] in update_seat_button_count() 2266 update_seat_button_count(struct libinput_seat *seat, int32_t button, enum libinput_button_state state) update_seat_button_count() argument 2484 pointer_notify_button(struct libinput_device *device, uint64_t time, int32_t button, enum libinput_button_state state) pointer_notify_button() argument 2850 tablet_notify_button(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, const struct tablet_axes *axes, int32_t button, enum libinput_button_state state) tablet_notify_button() argument 2885 tablet_pad_notify_button(struct libinput_device *device, uint64_t time, int32_t button, enum libinput_button_state state, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_button() argument 3424 libinput_tablet_pad_mode_group_has_button(struct libinput_tablet_pad_mode_group *group, unsigned int button) libinput_tablet_pad_mode_group_has_button() argument 3457 libinput_tablet_pad_mode_group_button_is_toggle(struct libinput_tablet_pad_mode_group *group, unsigned int button) libinput_tablet_pad_mode_group_button_is_toggle() argument 4534 libinput_device_config_scroll_set_button(struct libinput_device *device, uint32_t button) libinput_device_config_scroll_set_button() argument [all...] |
/third_party/python/Lib/idlelib/ |
H A D | dynoption.py | 10 Highlightthickness adds space around menu button. 49 button = Button(top, text="Change option set", command=update) 50 button.pack()
|
H A D | statusbar.py | 41 button = Button(top, text="Update status", command=change) 42 button.pack(side='bottom')
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | ar1021_i2c.c | 36 unsigned int x, y, button; in ar1021_i2c_irq() local 48 button = data[0] & BIT(0); in ar1021_i2c_irq() 54 input_report_key(input, BTN_TOUCH, button); in ar1021_i2c_irq()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | rohm-bd718x7.c | 21 static struct gpio_keys_button button = { variable 28 .buttons = &button, 178 button.irq = ret; in bd718xx_i2c_probe()
|
/kernel/linux/linux-6.6/drivers/crypto/ccp/ |
H A D | platform-access.c | 152 u32 __iomem *button, *cmd; in psp_ring_platform_doorbell() local 159 button = psp->io_regs + pa_dev->vdata->doorbell_button_reg; in psp_ring_platform_doorbell() 171 iowrite32(PSP_DRBL_RING, button); in psp_ring_platform_doorbell()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | ar1021_i2c.c | 36 unsigned int x, y, button; in ar1021_i2c_irq() local 48 button = data[0] & BIT(0); in ar1021_i2c_irq() 54 input_report_key(input, BTN_TOUCH, button); in ar1021_i2c_irq()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | audio_codec.c | 719 struct snd_soc_jack_pin *headset, *button; in gbaudio_init_jack() local 748 button = devm_kzalloc(module->dev, sizeof(*button), GFP_KERNEL); in gbaudio_init_jack() 749 if (!button) { in gbaudio_init_jack() 754 button->pin = module->button_name; in gbaudio_init_jack() 755 button->mask = module->button_mask; in gbaudio_init_jack() 757 module->button_mask, &module->button.jack, in gbaudio_init_jack() 758 button, 1); in gbaudio_init_jack() 760 dev_err(module->dev, "Failed to create button jack\n"); in gbaudio_init_jack() 765 list_add(&module->button in gbaudio_init_jack() [all...] |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | audio_codec.c | 695 struct snd_soc_jack_pin *headset, *button; in gbaudio_init_jack() local 725 button = devm_kzalloc(module->dev, sizeof(*button), GFP_KERNEL); in gbaudio_init_jack() 726 if (!button) { in gbaudio_init_jack() 731 button->pin = module->button_name; in gbaudio_init_jack() 732 button->mask = module->button_mask; in gbaudio_init_jack() 735 &module->button.jack, in gbaudio_init_jack() 736 button, 1); in gbaudio_init_jack() 738 dev_err(module->dev, "Failed to create button jack\n"); in gbaudio_init_jack() 743 list_add(&module->button in gbaudio_init_jack() [all...] |
/third_party/glfw/tests/ |
H A D | events.c | 213 static const char* get_button_name(int button) in get_button_name() argument 215 switch (button) in get_button_name() 226 snprintf(name, sizeof(name), "%i", button); in get_button_name() 368 static void mouse_button_callback(GLFWwindow* window, int button, int action, int mods) in mouse_button_callback() argument 371 printf("%08x to %i at %0.3f: Mouse button %i (%s) (with%s) was %s\n", in mouse_button_callback() 372 counter++, slot->number, glfwGetTime(), button, in mouse_button_callback() 373 get_button_name(button), in mouse_button_callback()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | RBStatisticsPanel.java | 366 JButton button; field in ButtonEnablerFocusListener 369 public ButtonEnablerFocusListener(JButton button) { in ButtonEnablerFocusListener() argument 371 this.button = button; in ButtonEnablerFocusListener() 387 if (!afterText.equals(beforeText)) button.setEnabled(true); in focusLost() 388 } else button.setEnabled(true); in focusLost()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_sdl.cpp | 130 if (event->button.button == SDL_BUTTON_LEFT) { bd->MousePressed[0] = true; } in ImGui_ImplSDL2_ProcessEvent() 131 if (event->button.button == SDL_BUTTON_RIGHT) { bd->MousePressed[1] = true; } in ImGui_ImplSDL2_ProcessEvent() 132 if (event->button.button == SDL_BUTTON_MIDDLE) { bd->MousePressed[2] = true; } in ImGui_ImplSDL2_ProcessEvent()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | tsxUnionTypeComponent1.js | 16 <MyComponent AnyComponent={() => <button>test</button>}/> 57 React.createElement(MyComponent, { AnyComponent: function () { return React.createElement("button", null, "test"); } });
|
/third_party/libinput/test/ |
H A D | litest.h | 718 unsigned int button, 723 unsigned int button, 728 unsigned int button, 732 unsigned int button, 777 unsigned int button, 812 unsigned int button, 849 unsigned int button, 883 unsigned int button, 896 unsigned int button,
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_f03.c | 40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button() argument 46 if (button < BTN_LEFT || button > BTN_MIDDLE) in rmi_f03_overwrite_button() 49 bit = BIT(button - BTN_LEFT); in rmi_f03_overwrite_button()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | tca6416-keypad.c | 106 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan() local 107 unsigned int type = button->type ?: EV_KEY; in tca6416_keys_scan() 109 ^ button->active_low; in tca6416_keys_scan() 111 input_event(input, type, button->code, !!state); in tca6416_keys_scan()
|
/kernel/linux/linux-6.6/drivers/platform/x86/x86-android-tablets/ |
H A D | other.c | 93 * This is a standard Windows tablet, but it has an extra "quick launch" button 95 * Use the x86-android-tablets infra to create a gpio-button device for this. 98 .button = { 124 PROPERTY_ENTRY_BOOL("silead,home-button"), 204 * in the button row with the power + volume-buttons labeled P and F. 205 * Use the x86-android-tablets infra to create a gpio-button device for these. 209 .button = { 221 .button = { 245 * The device boots up in "Windows 7" mode, when the home button sends a in czc_p10t_init() 246 * Windows specific key sequence (Left Meta + D) and the second button in czc_p10t_init() [all...] |
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A D | rmi_f03.c | 40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button() argument 46 if (button < BTN_LEFT || button > BTN_MIDDLE) in rmi_f03_overwrite_button() 49 bit = BIT(button - BTN_LEFT); in rmi_f03_overwrite_button()
|