Home
last modified time | relevance | path

Searched refs:BTN_TOOL_RUBBER (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py29 PEN_IS_IN_RANGE_WITH_ERASING_INTENT = (False, libevdev.EV_KEY.BTN_TOOL_RUBBER)
30 PEN_IS_ERASING = (True, libevdev.EV_KEY.BTN_TOOL_RUBBER)
41 evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
44 tool = libevdev.EV_KEY.BTN_TOOL_RUBBER
47 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
52 or evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
74 libevdev.InputEvent(libevdev.EV_KEY.BTN_TOOL_RUBBER),
221 axis == libevdev.EV_KEY.BTN_TOOL_RUBBER
222 and evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] is None
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dwacom_w8001.c180 w8001->type != BTN_TOOL_RUBBER) { in parse_multi_touch()
229 case BTN_TOOL_RUBBER: in report_pen_events()
235 input_report_key(dev, BTN_TOOL_RUBBER, 0); in report_pen_events()
243 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in report_pen_events()
306 w8001->type != BTN_TOOL_RUBBER) { in w8001_interrupt()
438 __set_bit(BTN_TOOL_RUBBER, dev->keybit); in w8001_setup_pen()
H A Dwacom_i2c.c112 BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_i2c_irq()
185 __set_bit(BTN_TOOL_RUBBER, input->keybit); in wacom_i2c_probe()
H A Dsurface3_spi.c130 int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in surface3_spi_report_pen()
310 input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER); in surface3_spi_create_pen_input()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dwacom_w8001.c180 w8001->type != BTN_TOOL_RUBBER) { in parse_multi_touch()
229 case BTN_TOOL_RUBBER: in report_pen_events()
235 input_report_key(dev, BTN_TOOL_RUBBER, 0); in report_pen_events()
243 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in report_pen_events()
306 w8001->type != BTN_TOOL_RUBBER) { in w8001_interrupt()
438 __set_bit(BTN_TOOL_RUBBER, dev->keybit); in w8001_setup_pen()
H A Dwacom_i2c.c130 BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_i2c_irq()
204 __set_bit(BTN_TOOL_RUBBER, input->keybit); in wacom_i2c_probe()
H A Dsurface3_spi.c128 int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in surface3_spi_report_pen()
301 input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER); in surface3_spi_create_pen_input()
/kernel/linux/linux-5.10/drivers/input/tablet/
H A Dhanwang.c98 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER,
151 hanwang->current_tool = BTN_TOOL_RUBBER; in hanwang_parse_packet()
152 input_report_key(input_dev, BTN_TOOL_RUBBER, 1); in hanwang_parse_packet()
H A Dwacom_serial4.c159 { ERASER_DEVICE_ID, BTN_TOOL_RUBBER },
544 set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_connect()
H A Daiptek.c210 #define AIPTEK_TOOL_BUTTON_ERASER_MODE BTN_TOOL_RUBBER
323 BTN_TOOL_PEN, BTN_TOOL_RUBBER, BTN_TOOL_PENCIL, BTN_TOOL_AIRBRUSH,
/kernel/linux/linux-6.6/drivers/input/tablet/
H A Dhanwang.c95 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER,
148 hanwang->current_tool = BTN_TOOL_RUBBER; in hanwang_parse_packet()
149 input_report_key(input_dev, BTN_TOOL_RUBBER, 1); in hanwang_parse_packet()
H A Dwacom_serial4.c159 { ERASER_DEVICE_ID, BTN_TOOL_RUBBER },
544 set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_connect()
H A Daiptek.c210 #define AIPTEK_TOOL_BUTTON_ERASER_MODE BTN_TOOL_RUBBER
323 BTN_TOOL_PEN, BTN_TOOL_RUBBER, BTN_TOOL_PENCIL, BTN_TOOL_AIRBRUSH,
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-input.c997 map_key_clear(BTN_TOOL_RUBBER); in hidinput_configure_usage()
1022 * Actual eraser (BTN_TOOL_RUBBER) is set and released either in hidinput_configure_usage()
1025 if (!test_bit(BTN_TOOL_RUBBER, input->keybit)) { in hidinput_configure_usage()
1027 set_bit(BTN_TOOL_RUBBER, input->keybit); in hidinput_configure_usage()
1585 * if eraser is set, we must enforce BTN_TOOL_RUBBER in hidinput_hid_event()
1589 hid_report_set_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1590 else if (report->tool != BTN_TOOL_RUBBER) in hidinput_hid_event()
1599 hid_report_release_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1610 * If invert is set, we store BTN_TOOL_RUBBER. in hidinput_hid_event()
1613 hid_report_set_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
[all...]
H A Dwacom_wac.c134 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
187 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_pl_irq()
200 if (wacom->tool[0] == BTN_TOOL_RUBBER && !(data[4] & 0x20)) { in wacom_pl_irq()
201 input_report_key(input, BTN_TOOL_RUBBER, 0); in wacom_pl_irq()
243 input_report_key(input, BTN_TOOL_RUBBER, data[1] & 0x20); in wacom_ptu_irq()
271 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq()
314 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_dtus_irq()
376 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_graphire_irq()
765 tool_type = BTN_TOOL_RUBBER; in wacom_intuos_get_tool_type()
1382 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_intuos_pro2_bt_pen()
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dwacom_wac.c134 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
187 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_pl_irq()
200 if (wacom->tool[0] == BTN_TOOL_RUBBER && !(data[4] & 0x20)) { in wacom_pl_irq()
201 input_report_key(input, BTN_TOOL_RUBBER, 0); in wacom_pl_irq()
243 input_report_key(input, BTN_TOOL_RUBBER, data[1] & 0x20); in wacom_ptu_irq()
271 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq()
314 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_dtus_irq()
376 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_graphire_irq()
765 tool_type = BTN_TOOL_RUBBER; in wacom_intuos_get_tool_type()
1377 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_intuos_pro2_bt_pen()
[all...]
H A Dhid-input.c818 map_key_clear(BTN_TOOL_RUBBER); in hidinput_configure_usage()
843 * Actual eraser (BTN_TOOL_RUBBER) is set by Invert usage when in hidinput_configure_usage()
1329 input_event(input, usage->type, (*quirks & HID_QUIRK_INVERT) ? BTN_TOOL_RUBBER : usage->code, 1); in hidinput_hid_event()
1333 input_event(input, usage->type, BTN_TOOL_RUBBER, 0); in hidinput_hid_event()
/kernel/linux/linux-5.10/scripts/dtc/include-prefixes/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/linux-5.10/include/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/linux-6.6/include/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/linux-6.6/scripts/dtc/include-prefixes/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dinput-event-codes.h354 #define BTN_TOOL_RUBBER 0x141 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dinput-event-codes.h354 #define BTN_TOOL_RUBBER 0x141 macro

Completed in 47 milliseconds

12