Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9024374 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Jiri Kosina
Browse files

HID: multitouch: touchscreens also use confidence reports

parent 9152c7d7
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -734,7 +734,8 @@ static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
		case HID_DG_CONFIDENCE:
		case HID_DG_CONFIDENCE:
			if ((cls->name == MT_CLS_WIN_8 ||
			if ((cls->name == MT_CLS_WIN_8 ||
				cls->name == MT_CLS_WIN_8_DUAL) &&
				cls->name == MT_CLS_WIN_8_DUAL) &&
				field->application == HID_DG_TOUCHPAD)
				(field->application == HID_DG_TOUCHPAD ||
				 field->application == HID_DG_TOUCHSCREEN))
				app->quirks |= MT_QUIRK_CONFIDENCE;
				app->quirks |= MT_QUIRK_CONFIDENCE;


			if (app->quirks & MT_QUIRK_CONFIDENCE)
			if (app->quirks & MT_QUIRK_CONFIDENCE)