psm: Enable touch-tracking for late Synaptics PS/2 touchpads.

They are true multitouch internally but Synaptics PS/2 protocol
limitations do not all allow to export touch identificators.

MFC after:	2 weeks
This commit is contained in:
Vladimir Kondratyev 2021-09-02 22:29:49 +03:00
parent 35bc295b30
commit c21171af68

View File

@ -1845,6 +1845,8 @@ psm_register_synaptics(device_t dev)
evdev_set_id(evdev_a, BUS_I8042, PS2_MOUSE_VENDOR,
PS2_MOUSE_SYNAPTICS_PRODUCT, 0);
evdev_set_methods(evdev_a, sc, &psm_ev_methods_a);
if (sc->synhw.capReportsV)
evdev_set_flag(evdev_a, EVDEV_FLAG_MT_TRACK);
evdev_support_event(evdev_a, EV_SYN);
evdev_support_event(evdev_a, EV_KEY);