diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2019-01-16 13:17:33 +1000 |
|---|---|---|
| committer | Peter Hutterer <peter.hutterer@who-t.net> | 2019-01-16 13:17:33 +1000 |
| commit | 6852dadbca2720621ce4699a03d35f791e9d7ebe (patch) | |
| tree | 057dbadd3d7d50a9c08b6d0350c2da2a40064423 /libevdev/libevdev.h | |
| parent | 29628dc2c3bc64237af6a092aae99a4100b8df5b (diff) | |
| download | libevdev-6852dadbca2720621ce4699a03d35f791e9d7ebe.tar.gz | |
Replace ABS_MT_SLOT - 1 with the v4.20 ABS_RESERVED define
ABS_RESERVED was added to 4.20 for that reason, to keep that event code
reserved so we can't use it for anything else (and thus mess up the fake MT
detection).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'libevdev/libevdev.h')
| -rw-r--r-- | libevdev/libevdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h index f0f34bb..198b684 100644 --- a/libevdev/libevdev.h +++ b/libevdev/libevdev.h @@ -688,7 +688,7 @@ extern "C" { * meaning, matching the axis names in linux/input.h. Some devices merely * export a number of axes beyond the available axis list. For those * devices, the multitouch information is invalid. Specifically, if a device - * provides the ABS_MT_SLOT axis AND also the (ABS_MT_SLOT - 1) axis, the + * provides the ABS_MT_SLOT axis AND also the ABS_RESERVED axis, the * device is not treated as multitouch device. No slot information is * available and the ABS_MT axis range for these devices is treated as all * other EV_ABS axes. |
