Input: wacom - set stylus_in_proximity when pen is in range
[deliverable/linux.git] / drivers / input / tablet / wacom_wac.c
index 24c0733cf7e5e52f759d4919c618d1a018796c2a..c98e51c5591fa40ff2c5ea7bc3add0aaa0f4203b 100644 (file)
@@ -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 */
This page took 0.026421 seconds and 5 git commands to generate.