Searched refs:BTN_TOOL_PEN (Results 1 – 17 of 17) sorted by relevance
/Linux-v4.19/drivers/input/tablet/ |
D | hanwang.c | 112 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER, 131 hanwang->current_tool = BTN_TOOL_PEN; in hanwang_parse_packet() 159 hanwang->current_tool = BTN_TOOL_PEN; in hanwang_parse_packet() 160 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet() 207 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
|
D | kbtab.c | 58 input_report_key(dev, BTN_TOOL_PEN, 1); in kbtab_irq() 152 BIT_MASK(BTN_TOOL_PEN) | BIT_MASK(BTN_TOUCH); in kbtab_probe()
|
D | acecad.c | 79 input_report_key(dev, BTN_TOOL_PEN, prox); in usb_acecad_irq() 193 input_dev->keybit[BIT_WORD(BTN_DIGI)] = BIT_MASK(BTN_TOOL_PEN) | in usb_acecad_probe()
|
D | pegasus_notetaker.c | 161 input_report_key(dev, BTN_TOOL_PEN, 1); in pegasus_parse_packet() 361 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in pegasus_probe()
|
D | wacom_serial4.c | 163 { STYLUS_DEVICE_ID, BTN_TOOL_PEN }, 546 set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_connect()
|
D | aiptek.c | 219 #define AIPTEK_TOOL_BUTTON_PEN_MODE BTN_TOOL_PEN 336 BTN_TOOL_PEN, BTN_TOOL_RUBBER, BTN_TOOL_PENCIL, BTN_TOOL_AIRBRUSH,
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | wacom_w8001.c | 177 if (w8001->type != BTN_TOOL_PEN && in parse_multi_touch() 235 w8001->type = BTN_TOOL_PEN; in report_pen_events() 241 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in report_pen_events() 303 if (w8001->type != BTN_TOOL_PEN && in w8001_interrupt() 435 __set_bit(BTN_TOOL_PEN, dev->keybit); in w8001_setup_pen()
|
D | surface3_spi.c | 134 int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in surface3_spi_report_pen() 302 data->pen_tool = BTN_TOOL_PEN; in surface3_spi_create_pen_input() 313 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in surface3_spi_create_pen_input()
|
D | wacom_i2c.c | 118 BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_i2c_irq() 190 __set_bit(BTN_TOOL_PEN, input->keybit); in wacom_i2c_probe()
|
/Linux-v4.19/drivers/hid/ |
D | hid-udraw-ps3.c | 245 input_report_key(udraw->pen_input_dev, BTN_TOOL_PEN, 1); in udraw_raw_event() 251 input_report_key(udraw->pen_input_dev, BTN_TOOL_PEN, 0); in udraw_raw_event() 356 set_bit(BTN_TOOL_PEN, input_dev->keybit); in udraw_setup_pen()
|
D | wacom_wac.c | 100 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq() 118 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq() 157 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq() 170 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq() 187 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq() 213 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq() 237 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq() 238 if (wacom->tool[0] == BTN_TOOL_PEN) in wacom_dtu_irq() 285 wacom->tool[0] = BTN_TOOL_PEN; in wacom_dtus_irq() 337 wacom->tool[0] = BTN_TOOL_PEN; in wacom_graphire_irq() [all …]
|
D | hid-ntrig.c | 878 __clear_bit(BTN_TOOL_PEN, input->keybit); in ntrig_input_configured()
|
D | hid-debug.c | 880 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
|
D | hid-input.c | 778 default: map_key(BTN_TOOL_PEN); break; in hidinput_configure_usage()
|
/Linux-v4.19/include/dt-bindings/input/ |
D | linux-event-codes.h | 401 #define BTN_TOOL_PEN 0x140 macro
|
/Linux-v4.19/include/uapi/linux/ |
D | input-event-codes.h | 401 #define BTN_TOOL_PEN 0x140 macro
|
/Linux-v4.19/Documentation/input/ |
D | event-codes.rst | 150 example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the
|