Home
last modified time | relevance | path

Searched refs:BTN_TOOL_PEN (Results 1 – 20 of 20) sorted by relevance

/linux-4.4.14/drivers/input/tablet/
Dhanwang.c116 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER,
135 hanwang->current_tool = BTN_TOOL_PEN; in hanwang_parse_packet()
163 hanwang->current_tool = BTN_TOOL_PEN; in hanwang_parse_packet()
164 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
211 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
Dkbtab.c68 input_report_key(dev, BTN_TOOL_PEN, 1); in kbtab_irq()
159 BIT_MASK(BTN_TOOL_PEN) | BIT_MASK(BTN_TOUCH); in kbtab_probe()
Dacecad.c87 input_report_key(dev, BTN_TOOL_PEN, prox); in usb_acecad_irq()
202 input_dev->keybit[BIT_WORD(BTN_DIGI)] = BIT_MASK(BTN_TOOL_PEN) | in usb_acecad_probe()
Dwacom_serial4.c163 { STYLUS_DEVICE_ID, BTN_TOOL_PEN },
546 set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_connect()
Daiptek.c226 #define AIPTEK_TOOL_BUTTON_PEN_MODE BTN_TOOL_PEN
344 BTN_TOOL_PEN, BTN_TOOL_RUBBER, BTN_TOOL_PENCIL, BTN_TOOL_AIRBRUSH,
/linux-4.4.14/drivers/input/touchscreen/
Dwacom_w8001.c173 if (w8001->type != BTN_TOOL_PEN && in parse_multi_touch()
231 w8001->type = BTN_TOOL_PEN; in report_pen_events()
242 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in report_pen_events()
305 if (w8001->type != BTN_TOOL_PEN && in w8001_interrupt()
405 __set_bit(BTN_TOOL_PEN, dev->keybit); in w8001_setup()
Dwacom_i2c.c118 BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_i2c_irq()
190 __set_bit(BTN_TOOL_PEN, input->keybit); in wacom_i2c_probe()
/linux-4.4.14/drivers/hid/
Dwacom_wac.c77 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
95 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq()
134 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
147 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
163 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq()
188 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq()
212 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq()
213 if (wacom->tool[0] == BTN_TOOL_PEN) in wacom_dtu_irq()
260 wacom->tool[0] = BTN_TOOL_PEN; in wacom_dtus_irq()
312 wacom->tool[0] = BTN_TOOL_PEN; in wacom_graphire_irq()
[all …]
Dhid-ntrig.c878 __clear_bit(BTN_TOOL_PEN, input->keybit); in ntrig_input_configured()
Dhid-debug.c878 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
Dhid-input.c683 default: map_key(BTN_TOOL_PEN); break; in hidinput_configure_usage()
/linux-4.4.14/arch/arm/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/arch/cris/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/arch/metag/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/arch/arm64/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/arch/powerpc/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/include/uapi/linux/
Dinput-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/arch/mips/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/linux-4.4.14/Documentation/input/
Devent-codes.txt121 example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the