/third_party/libinput/src/ |
H A D | evdev-mt-touchpad-edge-scroll.c | 95 /* if we use software buttons, we disable timeout-based in tp_edge_scroll_set_timer() 99 if (tp->buttons.click_method == in tp_edge_scroll_set_timer() 319 when software buttons were a thing, e.g. Lenovo *20 series) in tp_edge_scroll_init() 321 if (!tp->buttons.is_clickpad) in tp_edge_scroll_init()
|
H A D | evdev-mt-touchpad-gestures.c | 198 if (tp->buttons.is_clickpad && tp->buttons.state) in tp_get_raw_pointer_motion() 1309 (tp->buttons.is_clickpad && tp->buttons.state && in tp_gesture_post_events()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_glfw.cpp | 342 // Update mouse buttons in ImGui_ImplGlfw_UpdateMousePosAndButtons() 400 #define MAP_BUTTON(NAV_NO, BUTTON_NO) { if (buttons_count > BUTTON_NO && buttons[BUTTON_NO] == GLFW_PRESS) io.NavInputs[NAV_NO] = 1.0f; } in ImGui_ImplGlfw_UpdateGamepads() 404 const unsigned char* buttons = glfwGetJoystickButtons(GLFW_JOYSTICK_1, &buttons_count); in ImGui_ImplGlfw_UpdateGamepads() local
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | wacom_wac.c | 519 int buttons = 0, nbuttons = features->numbered_buttons; in wacom_intuos_pad() local 533 buttons = (data[3] << 1) | (data[2] & 0x01); in wacom_intuos_pad() 536 buttons = data[6]; in wacom_intuos_pad() 538 buttons = (data[4] << 1) | (data[3] & 0x01); in wacom_intuos_pad() 540 buttons = (data[8] << 8) | data[6]; in wacom_intuos_pad() 545 * Three "buttons" are available on the 24HD which are in wacom_intuos_pad() 586 * Do not send hardware buttons under Android. They in wacom_intuos_pad() 596 buttons = (data[4] << 1) | (data[3] & 0x01); in wacom_intuos_pad() 604 buttons = ((data[2] >> 4) << 7) | in wacom_intuos_pad() 616 buttons in wacom_intuos_pad() 1550 int buttons = data[44]; wacom_intuos_gen3_bt_pad() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | wacom_wac.c | 519 int buttons = 0, nbuttons = features->numbered_buttons; in wacom_intuos_pad() local 533 buttons = (data[3] << 1) | (data[2] & 0x01); in wacom_intuos_pad() 536 buttons = data[6]; in wacom_intuos_pad() 538 buttons = (data[4] << 1) | (data[3] & 0x01); in wacom_intuos_pad() 540 buttons = (data[8] << 8) | data[6]; in wacom_intuos_pad() 545 * Three "buttons" are available on the 24HD which are in wacom_intuos_pad() 586 * Do not send hardware buttons under Android. They in wacom_intuos_pad() 596 buttons = (data[4] << 1) | (data[3] & 0x01); in wacom_intuos_pad() 604 buttons = ((data[2] >> 4) << 7) | in wacom_intuos_pad() 616 buttons in wacom_intuos_pad() 1555 int buttons = data[44]; wacom_intuos_gen3_bt_pad() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | nau8825.c | 1710 int buttons = 0; in nau8825_button_decode() local 1712 /* The chip supports up to 8 buttons, but ALSA defines only 6 buttons */ in nau8825_button_decode() 1714 buttons |= SND_JACK_BTN_0; in nau8825_button_decode() 1716 buttons |= SND_JACK_BTN_1; in nau8825_button_decode() 1718 buttons |= SND_JACK_BTN_2; in nau8825_button_decode() 1720 buttons |= SND_JACK_BTN_3; in nau8825_button_decode() 1722 buttons |= SND_JACK_BTN_4; in nau8825_button_decode() 1724 buttons |= SND_JACK_BTN_5; in nau8825_button_decode() 1726 return buttons; in nau8825_button_decode() [all...] |
/third_party/backends/backend/genesys/ |
H A D | gl846.cpp | 1049 s->buttons[BUTTON_SCAN_SW].write((val & scan) == 0); in update_hardware_sensors() 1050 s->buttons[BUTTON_FILE_SW].write((val & file) == 0); in update_hardware_sensors() 1051 s->buttons[BUTTON_EMAIL_SW].write((val & email) == 0); in update_hardware_sensors() 1052 s->buttons[BUTTON_COPY_SW].write((val & copy) == 0); in update_hardware_sensors()
|
H A D | gl841.cpp | 2095 s->buttons[BUTTON_SCAN_SW].write((val & 0x01) == 0); in update_hardware_sensors() 2096 s->buttons[BUTTON_FILE_SW].write((val & 0x02) == 0); in update_hardware_sensors() 2097 s->buttons[BUTTON_EMAIL_SW].write((val & 0x04) == 0); in update_hardware_sensors() 2098 s->buttons[BUTTON_COPY_SW].write((val & 0x08) == 0); in update_hardware_sensors() 2107 s->buttons[BUTTON_PAGE_LOADED_SW].write((val & 0x01) == 0); in update_hardware_sensors() 2108 s->buttons[BUTTON_SCAN_SW].write((val & 0x02) == 0); in update_hardware_sensors()
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | palmtx.c | 219 .buttons = palmtx_pxa_buttons,
|
H A D | palmte2.c | 132 .buttons = palmte2_pxa_buttons,
|
H A D | palmld.c | 221 .buttons = palmld_pxa_buttons,
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
H A D | h3xxx.c | 190 .buttons = h3xxx_button_table,
|
/kernel/linux/linux-5.10/arch/mips/alchemy/ |
H A D | board-mtx1.c | 92 .buttons = mtx1_gpio_button,
|
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/ |
H A D | net2big-setup.c | 327 .buttons = net2big_buttons,
|
/kernel/linux/linux-6.6/arch/mips/alchemy/ |
H A D | board-mtx1.c | 92 .buttons = mtx1_gpio_button,
|
/kernel/linux/linux-6.6/arch/arm/mach-sa1100/ |
H A D | h3xxx.c | 190 .buttons = h3xxx_button_table,
|
/kernel/linux/linux-6.6/arch/arm/mach-orion5x/ |
H A D | net2big-setup.c | 324 .buttons = net2big_buttons,
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | rohm-bd718x7.c | 28 .buttons = &button,
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | psmouse.h | 143 void psmouse_report_standard_buttons(struct input_dev *, u8 buttons);
|
H A D | cyapa_gen5.c | 2677 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; in cyapa_pip_report_buttons() local 2679 buttons = (buttons << CAPABILITY_BTN_SHIFT) & CAPABILITY_BTN_MASK; in cyapa_pip_report_buttons() 2683 !!(buttons & CAPABILITY_LEFT_BTN_MASK)); in cyapa_pip_report_buttons() 2687 !!(buttons & CAPABILITY_MIDDLE_BTN_MASK)); in cyapa_pip_report_buttons() 2691 !!(buttons & CAPABILITY_RIGHT_BTN_MASK)); in cyapa_pip_report_buttons()
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
H A D | mc13xxx.h | 230 struct mc13xxx_buttons_platform_data *buttons; member
|
/kernel/linux/linux-6.6/include/linux/mfd/ |
H A D | mc13xxx.h | 230 struct mc13xxx_buttons_platform_data *buttons; member
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | psmouse.h | 145 void psmouse_report_standard_buttons(struct input_dev *, u8 buttons);
|
H A D | cyapa_gen5.c | 2678 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; in cyapa_pip_report_buttons() local 2680 buttons = (buttons << CAPABILITY_BTN_SHIFT) & CAPABILITY_BTN_MASK; in cyapa_pip_report_buttons() 2684 !!(buttons & CAPABILITY_LEFT_BTN_MASK)); in cyapa_pip_report_buttons() 2688 !!(buttons & CAPABILITY_MIDDLE_BTN_MASK)); in cyapa_pip_report_buttons() 2692 !!(buttons & CAPABILITY_RIGHT_BTN_MASK)); in cyapa_pip_report_buttons()
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
H A D | mach-gta02.c | 464 .buttons = gta02_buttons,
|