|
|
@@ -1369,11 +1369,17 @@ static void wacom_intuos_pro2_bt_touch(struct wacom_wac *wacom)
|
|
|
if (wacom->num_contacts_left <= 0) {
|
|
|
wacom->num_contacts_left = 0;
|
|
|
wacom->shared->touch_down = wacom_wac_finger_count_touches(wacom);
|
|
|
+ input_sync(touch_input);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- input_report_switch(touch_input, SW_MUTE_DEVICE, !(data[281] >> 7));
|
|
|
- input_sync(touch_input);
|
|
|
+ if (wacom->num_contacts_left == 0) {
|
|
|
+ // Be careful that we don't accidentally call input_sync with
|
|
|
+ // only a partial set of fingers of processed
|
|
|
+ input_report_switch(touch_input, SW_MUTE_DEVICE, !(data[281] >> 7));
|
|
|
+ input_sync(touch_input);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
static void wacom_intuos_pro2_bt_pad(struct wacom_wac *wacom)
|