Home
last modified time | relevance | path

Searched refs:BTN_STYLUS (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dbase.py86 libevdev.EV_KEY.BTN_STYLUS,
96 libevdev.EV_KEY.BTN_STYLUS,
110 excludes=[libevdev.EV_KEY.BTN_TOOL_PEN, libevdev.EV_KEY.BTN_STYLUS],
124 excludes=[libevdev.EV_KEY.BTN_TOOL_PEN, libevdev.EV_KEY.BTN_STYLUS],
H A Dtest_tablet.py592 assert not evdev.value[libevdev.EV_KEY.BTN_STYLUS]
596 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_STYLUS, 1) in events
607 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_STYLUS, 0) in events
637 assert not evdev.value[libevdev.EV_KEY.BTN_STYLUS]
641 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_STYLUS, 1) in events
646 assert evdev.value[libevdev.EV_KEY.BTN_STYLUS]
663 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_STYLUS, 0) in events
H A Dtest_wacom_generic.py713 libevdev.InputEvent(libevdev.EV_KEY.BTN_STYLUS, 1),
721 libevdev.InputEvent(libevdev.EV_KEY.BTN_STYLUS, 0),
/openbmc/linux/drivers/hid/
H A Dhid-letsketch.c118 input_set_capability(input, EV_KEY, BTN_STYLUS); in letsketch_setup_input_tablet()
147 input_set_capability(input, EV_KEY, BTN_STYLUS); in letsketch_setup_input_tablet_pad()
181 input_report_key(input, BTN_STYLUS, raw_data[1] & 0x02); in letsketch_raw_event()
H A Dwacom_wac.c48 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout()
142 input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); in wacom_penpartner_irq()
158 input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); in wacom_penpartner_irq()
219 input_report_key(input, BTN_STYLUS, data[4] & 0x10); in wacom_pl_irq()
255 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_ptu_irq()
277 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_dtu_irq()
325 input_report_key(input, BTN_STYLUS, data[1] & 0x20); in wacom_dtus_irq()
400 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_graphire_irq()
805 input_report_key(input, BTN_STYLUS, 0); in wacom_exit_report()
966 input_report_key(input, BTN_STYLUS, data[1] & 2); in wacom_intuos_general()
[all …]
H A Dhid-debug.c906 [BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus",
H A Dhid-input.c1001 map_key_clear(BTN_STYLUS); in hidinput_configure_usage()
H A Dhid-multitouch.c1664 __set_bit(BTN_STYLUS, hi->input->keybit); in mt_input_configured()
/openbmc/linux/drivers/input/touchscreen/
H A Dwacom_i2c.c136 input_report_key(input, BTN_STYLUS, f1); in wacom_i2c_irq()
205 __set_bit(BTN_STYLUS, input->keybit); in wacom_i2c_probe()
H A Dsurface3_spi.c143 BTN_STYLUS, in surface3_spi_report_pen()
299 input_set_capability(input, EV_KEY, BTN_STYLUS); in surface3_spi_create_pen_input()
H A Dwacom_w8001.c233 input_report_key(dev, BTN_STYLUS, 0); in report_pen_events()
255 input_report_key(dev, BTN_STYLUS, coord->f1); in report_pen_events()
439 __set_bit(BTN_STYLUS, dev->keybit); in w8001_setup_pen()
H A Dgoodix.c332 input_set_capability(input, EV_KEY, BTN_STYLUS); in goodix_create_pen_input()
379 input_report_key(ts->input_pen, BTN_STYLUS, key_value & 0x10); in goodix_ts_report_pen_down()
382 input_report_key(ts->input_pen, BTN_STYLUS, 0); in goodix_ts_report_pen_down()
396 input_report_key(ts->input_pen, BTN_STYLUS, 0); in goodix_ts_report_pen_up()
/openbmc/linux/drivers/input/tablet/
H A Dacecad.c77 input_report_key(dev, BTN_STYLUS, stylus); in usb_acecad_irq()
178 BIT_MASK(BTN_TOUCH) | BIT_MASK(BTN_STYLUS) | in usb_acecad_probe()
H A Dhanwang.c95 BTN_STYLUS, BTN_STYLUS2, BTN_TOOL_PEN, BTN_TOOL_RUBBER,
184 input_report_key(input_dev, BTN_STYLUS, data[1] & 0x02); in hanwang_parse_packet()
H A Dwacom_serial4.c351 input_report_key(wacom->dev, BTN_STYLUS, button & 2); in wacom_handle_packet()
547 set_bit(BTN_STYLUS, input_dev->keybit); in wacom_connect()
H A Daiptek.c325 BTN_STYLUS, BTN_STYLUS2,
550 input_report_key(inputdev, BTN_STYLUS, bs); in aiptek_irq()
/openbmc/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h410 #define BTN_STYLUS 0x14b macro
/openbmc/qemu/include/standard-headers/linux/
H A Dinput-event-codes.h413 #define BTN_STYLUS 0x14b macro
/openbmc/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h413 #define BTN_STYLUS 0x14b macro
/openbmc/linux/include/uapi/linux/
H A Dinput-event-codes.h413 #define BTN_STYLUS 0x14b macro
/openbmc/linux/drivers/input/
H A Dmousedev.c233 case BTN_STYLUS: in mousedev_key_event()