mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 18:54:02 -04:00
evdev: Do not check maximal contact number for MT initialization
This allows singletouch devices which use multitouch protocols to work.
Reported by: Mark Kane <mark_AT_kane_DOT_mn>
(cherry picked from commit e40fec4ec9)
This commit is contained in:
parent
5517f7f9e7
commit
ec86cee5db
1 changed files with 1 additions and 2 deletions
|
|
@ -316,8 +316,7 @@ evdev_register_common(struct evdev_dev *evdev)
|
|||
}
|
||||
|
||||
/* Initialize multitouch protocol type B states */
|
||||
if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT) &&
|
||||
evdev->ev_absinfo != NULL && MAXIMAL_MT_SLOT(evdev) > 0)
|
||||
if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT))
|
||||
evdev_mt_init(evdev);
|
||||
|
||||
/* Estimate maximum report size */
|
||||
|
|
|
|||
Loading…
Reference in a new issue