diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 0c1c3803..58812db9 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -3953,7 +3953,7 @@ tp_requires_rotation(struct tp_dispatch *tp, struct evdev_device *device) paired = libwacom_get_paired_device(*d); if (paired && libwacom_match_get_vendor_id(paired) == vid && libwacom_match_get_product_id(paired) == pid) { - rotate = libwacom_is_reversible(dev); + rotate = libwacom_is_reversible(*d); break; } d++;