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

Commit 526d6e7b authored by Ping Cheng's avatar Ping Cheng Committed by Jiri Kosina
Browse files

HID: wacom - Add quirks for INTUOSHT2 in range events



INTUOSHT2 in range event is not used to indicate in proximity state.
INTUOSHT2 only has one stylus.

Signed-off-by: default avatarPing Cheng <pingc@wacom.com>
Reviewed-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent c1b03f55
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -613,6 +613,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom)
		case 0x885: /* Intuos3 Marker Pen */
		case 0x802: /* Intuos4/5 13HD/24HD General Pen */
		case 0x804: /* Intuos4/5 13HD/24HD Marker Pen */
		case 0x8e2: /* IntuosHT2 pen */
		case 0x022:
		case 0x100804: /* Intuos4/5 13HD/24HD Art Pen */
		case 0x140802: /* Intuos4/5 13HD/24HD Classic Pen */
@@ -680,6 +681,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom)

	/* in Range */
	if ((data[1] & 0xfe) == 0x20) {
		if (features->type != INTUOSHT2)
			wacom->shared->stylus_in_proximity = true;

		/* in Range while exiting */