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

Commit 805a876a authored by Ping Cheng's avatar Ping Cheng Committed by Dmitry Torokhov
Browse files

Input: wacom - set stylus_in_proximity when pen is in range

parent 50525891
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -484,6 +484,8 @@ static int wacom_intuos_inout(struct wacom_wac *wacom)
		input_report_key(input, BTN_TOUCH, 0);
		input_report_abs(input, ABS_PRESSURE, 0);
		input_report_abs(input, ABS_DISTANCE, wacom->features.distance_max);
		if (features->quirks & WACOM_QUIRK_MULTI_INPUT)
			wacom->shared->stylus_in_proximity = true;
	}

	/* Exit report */