Home
last modified time | relevance | path

Searched refs:BTN_TOOL_RUBBER (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/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()
436 __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()
/linux-6.15/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,
/linux-6.15/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py30 RUBBER = libevdev.EV_KEY.BTN_TOOL_RUBBER
71 evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
74 tool = ToolType(libevdev.EV_KEY.BTN_TOOL_RUBBER)
77 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
82 or evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
117 libevdev.InputEvent(libevdev.EV_KEY.BTN_TOOL_RUBBER),
490 axis == libevdev.EV_KEY.BTN_TOOL_RUBBER
491 and evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] is None
/linux-6.15/drivers/hid/
H A Dhid-input.c982 map_key_clear(BTN_TOOL_RUBBER); in hidinput_configure_usage()
1010 if (!test_bit(BTN_TOOL_RUBBER, input->keybit)) { in hidinput_configure_usage()
1012 set_bit(BTN_TOOL_RUBBER, input->keybit); in hidinput_configure_usage()
1574 hid_report_set_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1575 else if (report->tool != BTN_TOOL_RUBBER) in hidinput_hid_event()
1584 hid_report_release_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1598 hid_report_set_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1601 hid_report_release_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1633 if (report->tool == BTN_TOOL_RUBBER) in hidinput_hid_event()
H A Dwacom_wac.c187 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_pl_irq()
201 input_report_key(input, BTN_TOOL_RUBBER, 0); in wacom_pl_irq()
314 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_dtus_irq()
376 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_graphire_irq()
728 return BTN_TOOL_RUBBER; in wacom_intuos_get_tool_type()
1335 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_intuos_pro2_bt_pen()
2337 BTN_TOOL_RUBBER, 0); in wacom_wac_pen_usage_mapping()
2571 wacom_wac->tool[0] = BTN_TOOL_RUBBER; in wacom_wac_pen_report()
3214 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_bpt_pen()
3589 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_setup_cintiq()
[all …]
H A Dhid-debug.c3294 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
/linux-6.15/include/uapi/linux/
H A Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/linux-6.15/include/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro