mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-17 22:00:40 +02:00
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:
parent
b9cdba6bd1
commit
145663d0a2
1 changed files with 1 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue