Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/touchscreen/
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()
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()
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.12.1/drivers/input/tablet/
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()
Dwacom_serial4.c159 { ERASER_DEVICE_ID, BTN_TOOL_RUBBER },
544 set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_connect()
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.12.1/tools/testing/selftests/hid/tests/
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.12.1/drivers/hid/
Dhid-input.c985 map_key_clear(BTN_TOOL_RUBBER); in hidinput_configure_usage()
1013 if (!test_bit(BTN_TOOL_RUBBER, input->keybit)) { in hidinput_configure_usage()
1015 set_bit(BTN_TOOL_RUBBER, input->keybit); in hidinput_configure_usage()
1577 hid_report_set_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1578 else if (report->tool != BTN_TOOL_RUBBER) in hidinput_hid_event()
1587 hid_report_release_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1601 hid_report_set_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1604 hid_report_release_tool(report, input, BTN_TOOL_RUBBER); in hidinput_hid_event()
1636 if (report->tool == BTN_TOOL_RUBBER) in hidinput_hid_event()
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()
728 return BTN_TOOL_RUBBER; in wacom_intuos_get_tool_type()
1335 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_intuos_pro2_bt_pen()
[all …]
Dhid-debug.c3294 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
/linux-6.12.1/include/uapi/linux/
Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/linux-6.12.1/include/dt-bindings/input/
Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro