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

/linux-master/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py580 self.barrelswitch = False
672 pen.barrelswitch = False
679 pen.barrelswitch = False
686 pen.barrelswitch = False
693 pen.barrelswitch = True
700 pen.barrelswitch = True
707 pen.barrelswitch = False
714 pen.barrelswitch = False
721 pen.barrelswitch = False
728 pen.barrelswitch
[all...]
H A Dtest_wacom_generic.py100 reportdata.barrelswitch = int(self.primary or 0)
/linux-master/drivers/hid/
H A Dwacom_wac.h305 bool barrelswitch; member in struct:hid_data
H A Dwacom_wac.c2279 wacom_wac->hid_data.barrelswitch &&
2336 wacom_wac->hid_data.barrelswitch = true;
2408 wacom_wac->hid_data.barrelswitch = value;
2552 int sw_state = wacom_wac->hid_data.barrelswitch |
2554 wacom_wac->hid_data.barrelswitch = sw_state == 1;
2558 input_report_key(input, BTN_STYLUS, wacom_wac->hid_data.barrelswitch);

Completed in 152 milliseconds