Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py462 self.barrelswitch = False
568 pen.barrelswitch = False
575 pen.barrelswitch = False
582 pen.barrelswitch = False
590 pen.barrelswitch = button == BtnPressed.PRIMARY_PRESSED
598 pen.barrelswitch = button == BtnPressed.PRIMARY_PRESSED
605 pen.barrelswitch = False
612 pen.barrelswitch = False
970 pen.barrelswitch = False
976 pen.barrelswitch = False
[all …]
H A Dtest_wacom_generic.py100 reportdata.barrelswitch = int(self.primary or 0)
/linux/drivers/hid/
H A Dwacom_wac.h302 bool barrelswitch; member
H A Dwacom_wac.c2311 wacom_wac->hid_data.barrelswitch && in wacom_set_barrel_switch3_usage()
2368 wacom_wac->hid_data.barrelswitch = true; in wacom_wac_pen_usage_mapping()
2445 wacom_wac->hid_data.barrelswitch = value; in wacom_wac_pen_event()
2597 int sw_state = wacom_wac->hid_data.barrelswitch | in wacom_wac_pen_report()
2599 wacom_wac->hid_data.barrelswitch = sw_state == 1; in wacom_wac_pen_report()
2603 input_report_key(input, BTN_STYLUS, wacom_wac->hid_data.barrelswitch); in wacom_wac_pen_report()