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

/linux-master/drivers/input/touchscreen/
H A Dwacom_w8001.c180 w8001->type != BTN_TOOL_RUBBER) {
229 case BTN_TOOL_RUBBER:
235 input_report_key(dev, BTN_TOOL_RUBBER, 0);
243 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
306 w8001->type != BTN_TOOL_RUBBER) {
438 __set_bit(BTN_TOOL_RUBBER, dev->keybit);
H A Dwacom_i2c.c130 BTN_TOOL_RUBBER : BTN_TOOL_PEN;
204 __set_bit(BTN_TOOL_RUBBER, input->keybit);
H A Dsurface3_spi.c128 int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
301 input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER);
/linux-master/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py30 RUBBER = libevdev.EV_KEY.BTN_TOOL_RUBBER
100 evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
103 tool = ToolType(libevdev.EV_KEY.BTN_TOOL_RUBBER)
106 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
111 or evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
145 libevdev.InputEvent(libevdev.EV_KEY.BTN_TOOL_RUBBER),
610 axis == libevdev.EV_KEY.BTN_TOOL_RUBBER
611 and evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] is None
/linux-master/drivers/input/tablet/
H A Dhanwang.c95 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER,
148 hanwang->current_tool = BTN_TOOL_RUBBER;
149 input_report_key(input_dev, BTN_TOOL_RUBBER, 1);
H A Dwacom_serial4.c159 { ERASER_DEVICE_ID, BTN_TOOL_RUBBER },
544 set_bit(BTN_TOOL_RUBBER, input_dev->keybit);
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-master/drivers/hid/
H A Dwacom_wac.c134 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
187 wacom->tool[0] = BTN_TOOL_RUBBER;
200 if (wacom->tool[0] == BTN_TOOL_RUBBER && !(data[4] & 0x20)) {
201 input_report_key(input, BTN_TOOL_RUBBER, 0);
243 input_report_key(input, BTN_TOOL_RUBBER, data[1] & 0x20);
271 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
314 wacom->tool[0] = BTN_TOOL_RUBBER;
376 wacom->tool[0] = BTN_TOOL_RUBBER;
765 tool_type = BTN_TOOL_RUBBER;
1382 wacom->tool[0] = BTN_TOOL_RUBBER;
[all...]
H A Dhid-input.c999 map_key_clear(BTN_TOOL_RUBBER);
1024 * Actual eraser (BTN_TOOL_RUBBER) is set and released either
1027 if (!test_bit(BTN_TOOL_RUBBER, input->keybit)) {
1029 set_bit(BTN_TOOL_RUBBER, input->keybit);
1587 * if eraser is set, we must enforce BTN_TOOL_RUBBER
1591 hid_report_set_tool(report, input, BTN_TOOL_RUBBER);
1592 else if (report->tool != BTN_TOOL_RUBBER)
1601 hid_report_release_tool(report, input, BTN_TOOL_RUBBER);
1612 * If invert is set, we store BTN_TOOL_RUBBER.
1615 hid_report_set_tool(report, input, BTN_TOOL_RUBBER);
[all...]
H A Dhid-debug.c902 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
/linux-master/include/uapi/linux/
H A Dinput-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/linux-master/scripts/dtc/include-prefixes/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro
/linux-master/include/dt-bindings/input/
H A Dlinux-event-codes.h403 #define BTN_TOOL_RUBBER 0x141 macro

Completed in 211 milliseconds