tablet: Remove leftover-comment

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Stephen Chandler Paul 2015-02-15 19:06:34 -05:00 committed by Peter Hutterer
parent b9cdba6bd1
commit 145663d0a2

View file

@ -411,12 +411,7 @@ sanitize_tablet_axes(struct tablet_dispatch *tablet)
distance = libevdev_get_abs_info(tablet->device->evdev, ABS_DISTANCE);
pressure = libevdev_get_abs_info(tablet->device->evdev, ABS_PRESSURE);
/* Keep distance and pressure mutually exclusive. In addition, filter
* out invalid distance events that can occur when the tablet tool is
* close enough for the tablet to detect that's something's there, but
* not close enough for it to actually receive data from the tool
* properly
*/
/* Keep distance and pressure mutually exclusive */
if (bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_AXIS_DISTANCE) &&
distance->value > distance->minimum &&
pressure->value > pressure->minimum) {