mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-03 06:08:00 +02:00
evdev: drop hook to init old touchpad driver
Still leaving the driver itself in place for removal later, but only initialize the new driver now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
92f5860bfa
commit
6a61032625
1 changed files with 1 additions and 4 deletions
|
|
@ -600,10 +600,7 @@ evdev_configure_device(struct evdev_device *device)
|
|||
if (libevdev_has_event_code(device->evdev, EV_KEY, BTN_TOOL_FINGER) &&
|
||||
!libevdev_has_event_code(device->evdev, EV_KEY, BTN_TOOL_PEN) &&
|
||||
(has_abs || has_mt)) {
|
||||
if (getenv("LIBINPUT_NEW_TOUCHPAD_DRIVER") && has_mt)
|
||||
device->dispatch = evdev_mt_touchpad_create(device);
|
||||
else
|
||||
device->dispatch = evdev_touchpad_create(device);
|
||||
device->dispatch = evdev_mt_touchpad_create(device);
|
||||
}
|
||||
for (i = KEY_ESC; i < KEY_MAX; i++) {
|
||||
if (i >= BTN_MISC && i < KEY_OK)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue