aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/evdev/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/evdev/evdev.c')
-rw-r--r--sys/dev/evdev/evdev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/evdev/evdev.c b/sys/dev/evdev/evdev.c
index 74335b6f40b1..2fd7c2e201ea 100644
--- a/sys/dev/evdev/evdev.c
+++ b/sys/dev/evdev/evdev.c
@@ -306,8 +306,9 @@ evdev_register_common(struct evdev_dev *evdev)
}
}
- /* Initialize multitouch protocol type B states */
- if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT))
+ /* Initialize multitouch protocol type B states or A to B converter */
+ if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT) ||
+ bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK))
evdev_mt_init(evdev);
/* Estimate maximum report size */