Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py150 self.barrelswitch = False
594 p.barrelswitch = True
605 p.barrelswitch = False
639 p.barrelswitch = True
659 p.barrelswitch = False
H A Dtest_wacom_generic.py99 reportdata.barrelswitch = int(self.primary or 0)
/openbmc/linux/drivers/hid/
H A Dwacom_wac.h304 bool barrelswitch; member
H A Dwacom_wac.c2279 wacom_wac->hid_data.barrelswitch && in wacom_set_barrel_switch3_usage()
2336 wacom_wac->hid_data.barrelswitch = true; in wacom_wac_pen_usage_mapping()
2408 wacom_wac->hid_data.barrelswitch = value; in wacom_wac_pen_event()
2551 int sw_state = wacom_wac->hid_data.barrelswitch | in wacom_wac_pen_report()
2553 wacom_wac->hid_data.barrelswitch = sw_state == 1; in wacom_wac_pen_report()
2557 input_report_key(input, BTN_STYLUS, wacom_wac->hid_data.barrelswitch); in wacom_wac_pen_report()