Home
last modified time | relevance | path

Searched refs:touch_max (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/hid/
Dwacom_wac.c1071 unsigned touch_max = wacom->features.touch_max; in wacom_wac_finger_count_touches() local
1075 if (!touch_max) in wacom_wac_finger_count_touches()
1079 if ((touch_max == 1) && (wacom->features.type == HID_GENERIC)) in wacom_wac_finger_count_touches()
1247 if (wacom->features.touch_max > 1 || len > WACOM_PKGLEN_TPC2FG) in wacom_tpc_single_touch()
1471 unsigned touch_max = wacom_wac->features.touch_max; in wacom_wac_finger_usage_mapping() local
1476 if (touch_max == 1) in wacom_wac_finger_usage_mapping()
1484 if (touch_max == 1) in wacom_wac_finger_usage_mapping()
1510 bool mt = wacom_wac->features.touch_max > 1; in wacom_wac_finger_slot()
1569 unsigned touch_max = wacom_wac->features.touch_max; in wacom_wac_finger_report() local
1571 if (touch_max > 1) in wacom_wac_finger_report()
[all …]
Dwacom_wac.h160 unsigned touch_max; member
173 unsigned touch_max; member
Dwacom_sys.c113 if (!features->touch_max) { in wacom_feature_mapping()
122 features->touch_max = data[1]; in wacom_feature_mapping()
193 if (finger && !features->touch_max) in wacom_usage_mapping()
194 features->touch_max = 1; in wacom_usage_mapping()
239 if (features->touch_max > 1) { in wacom_post_parse_hid()
240 input_mt_init_slots(wacom_wac->input, wacom_wac->features.touch_max, in wacom_post_parse_hid()
1293 wacom_wac1->shared->touch_max = wacom_wac1->features.touch_max; in wacom_wireless_work()
1302 if (wacom_wac1->features.touch_max || in wacom_wireless_work()
1309 if (wacom_wac2->features.touch_max) in wacom_wireless_work()
1324 wacom_wac1->features.touch_max) in wacom_wireless_work()
[all …]