mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-06 01:00:27 +01:00
evdev: Don't ignore multitouch touchscreens
Most touchscreen drivers provide ABS_X and BTN_TOUCH for legacy single-touch emulation modes, but this isn't mandatory. Make sure we don't ignore touchscreens with provide multitouch events with the new API only. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
f749baab42
commit
9d67bb202a
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ evdev_configure_device(struct evdev_input_device *device)
|
|||
/* This rule tries to catch accelerometer devices and opt out. We may
|
||||
* want to adjust the protocol later adding a proper event for dealing
|
||||
* with accelerometers and implement here accordingly */
|
||||
if (has_abs && !has_key)
|
||||
if (has_abs && !has_key && !device->is_mt)
|
||||
return -1;
|
||||
|
||||
if ((device->caps &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue