Home
last modified time | relevance | path

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

/openbmc/linux/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
/openbmc/linux/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()
/openbmc/linux/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,
/openbmc/linux/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.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()
764 tool_type = BTN_TOOL_RUBBER; in wacom_intuos_get_tool_type()
1381 wacom->tool[0] = BTN_TOOL_RUBBER; in wacom_intuos_pro2_bt_pen()
[all …]
H A Dhid-debug.c902 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
/openbmc/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h401 #define BTN_TOOL_RUBBER 0x141 macro
/openbmc/qemu/include/standard-headers/linux/
H A Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/openbmc/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/openbmc/linux/include/uapi/linux/
H A Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro