Home
last modified time | relevance | path

Searched refs:barrelswitch (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py460 self.barrelswitch = False
564 pen.barrelswitch = False
571 pen.barrelswitch = False
578 pen.barrelswitch = False
601 pen.barrelswitch = False
608 pen.barrelswitch = False
943 pen.barrelswitch = False
949 pen.barrelswitch = False
955 pen.barrelswitch = False
975 pen.barrelswitch = False
[all …]
H A Dtest_wacom_generic.py100 reportdata.barrelswitch = int(self.primary or 0)
/linux-6.15/drivers/hid/
H A Dwacom_wac.h302 bool barrelswitch; member
H A Dwacom_wac.c2300 wacom_wac->hid_data.barrelswitch && in wacom_set_barrel_switch3_usage()
2357 wacom_wac->hid_data.barrelswitch = true; in wacom_wac_pen_usage_mapping()
2434 wacom_wac->hid_data.barrelswitch = value; in wacom_wac_pen_event()
2586 int sw_state = wacom_wac->hid_data.barrelswitch | in wacom_wac_pen_report()
2588 wacom_wac->hid_data.barrelswitch = sw_state == 1; in wacom_wac_pen_report()
2592 input_report_key(input, BTN_STYLUS, wacom_wac->hid_data.barrelswitch); in wacom_wac_pen_report()