Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_mta.c49 input_report_key(input, BTN_TOOL_PEN, CY_BTN_RELEASED); in cyttsp5_input_report()
51 input_report_key(input, BTN_TOOL_PEN, CY_BTN_PRESSED); in cyttsp5_input_report()
66 input_report_key(md->input, BTN_TOOL_PEN, CY_BTN_RELEASED); in cyttsp5_report_slot_liftoff()
74 __set_bit(BTN_TOOL_PEN, input->keybit); in cyttsp5_input_register_device()
/OK3568_Linux_fs/kernel/drivers/input/tablet/
H A Dhanwang.c98 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER,
117 hanwang->current_tool = BTN_TOOL_PEN; in hanwang_parse_packet()
145 hanwang->current_tool = BTN_TOOL_PEN; in hanwang_parse_packet()
146 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
193 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
H A Dkbtab.c59 input_report_key(dev, BTN_TOOL_PEN, 1); in kbtab_irq()
157 BIT_MASK(BTN_TOOL_PEN) | BIT_MASK(BTN_TOUCH); in kbtab_probe()
H A Dacecad.c66 input_report_key(dev, BTN_TOOL_PEN, prox); in usb_acecad_irq()
180 input_dev->keybit[BIT_WORD(BTN_DIGI)] = BIT_MASK(BTN_TOOL_PEN) | in usb_acecad_probe()
H A Dpegasus_notetaker.c162 input_report_key(dev, BTN_TOOL_PEN, 1); in pegasus_parse_packet()
362 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in pegasus_probe()
H A Dwacom_serial4.c158 { STYLUS_DEVICE_ID, BTN_TOOL_PEN },
543 set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_connect()
H A Daiptek.c206 #define AIPTEK_TOOL_BUTTON_PEN_MODE BTN_TOOL_PEN
323 BTN_TOOL_PEN, BTN_TOOL_RUBBER, BTN_TOOL_PENCIL, BTN_TOOL_AIRBRUSH,
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dwacom_w8001.c179 if (w8001->type != BTN_TOOL_PEN && in parse_multi_touch()
237 w8001->type = BTN_TOOL_PEN; in report_pen_events()
243 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in report_pen_events()
305 if (w8001->type != BTN_TOOL_PEN && in w8001_interrupt()
437 __set_bit(BTN_TOOL_PEN, dev->keybit); in w8001_setup_pen()
H A Dsurface3_spi.c130 int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in surface3_spi_report_pen()
298 data->pen_tool = BTN_TOOL_PEN; in surface3_spi_create_pen_input()
309 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in surface3_spi_create_pen_input()
H A Dwacom_i2c.c112 BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_i2c_irq()
184 __set_bit(BTN_TOOL_PEN, input->keybit); in wacom_i2c_probe()
H A Dwacom_w9013.c206 BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_i2c_irq()
396 __set_bit(BTN_TOOL_PEN, input->keybit); in wacom_i2c_probe()
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-udraw-ps3.c237 input_report_key(udraw->pen_input_dev, BTN_TOOL_PEN, 1); in udraw_raw_event()
243 input_report_key(udraw->pen_input_dev, BTN_TOOL_PEN, 0); in udraw_raw_event()
348 set_bit(BTN_TOOL_PEN, input_dev->keybit); in udraw_setup_pen()
H A Dwacom_wac.c96 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
114 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq()
153 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
166 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
183 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq()
209 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq()
233 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq()
234 if (wacom->tool[0] == BTN_TOOL_PEN) in wacom_dtu_irq()
281 wacom->tool[0] = BTN_TOOL_PEN; in wacom_dtus_irq()
333 wacom->tool[0] = BTN_TOOL_PEN; in wacom_graphire_irq()
[all …]
H A Dhid-uclogic-core.c68 input_report_key(input, BTN_TOOL_PEN, 0); in uclogic_inrange_timeout()
H A Dhid-ntrig.c874 __clear_bit(BTN_TOOL_PEN, input->keybit); in ntrig_input_configured()
H A Dhid-debug.c865 [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber",
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dinput-event-codes.h401 #define BTN_TOOL_PEN 0x140 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dinput-event-codes.h401 #define BTN_TOOL_PEN 0x140 macro
/OK3568_Linux_fs/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h400 #define BTN_TOOL_PEN 0x140 macro
/OK3568_Linux_fs/kernel/include/dt-bindings/input/
H A Drk-input.h378 #define BTN_TOOL_PEN 0x140 macro
H A Dlinux-event-codes.h402 #define BTN_TOOL_PEN 0x140 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dinput-event-codes.h402 #define BTN_TOOL_PEN 0x140 macro
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x_generic.c1346 set_bit(BTN_TOOL_PEN, pen_dev->keybit); in gt1x_pen_init()
1373 input_report_key(pen_dev, BTN_TOOL_PEN, 1); in gt1x_pen_down()
1404 input_report_key(pen_dev, BTN_TOOL_PEN, 0); in gt1x_pen_up()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/
H A Dgt9xx.c498 set_bit(BTN_TOOL_PEN, ts->pen_dev->keybit); in gtp_pen_init()
532 input_report_key(ts->pen_dev, BTN_TOOL_PEN, 1); in gtp_pen_down()
556 input_report_key(ts->pen_dev, BTN_TOOL_PEN, 0); in gtp_pen_up()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/elan/
H A Delan_ts.c800 input_report_key(ts->pen_idev, BTN_TOOL_PEN, stylus.tip_status); in elants_a_report()
1114 __set_bit(BTN_TOOL_PEN, ts->pen_idev->keybit); in elan_request_pen_input_dev()

12