From 5dac1ece8c122450ce81be8c96d93676b9bc8209 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 30 Mar 2017 15:04:13 +1000 Subject: udev: set size hint for the Apple Magic Trackpad Not required because it sets the resolution in the kernel, but we have a generic "Apple touchpads" rule with a different size. Even though libinput won't use this property, let's override the generic one with the right dimensions. Signed-off-by: Peter Hutterer --- udev/90-libinput-model-quirks.hwdb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'udev') diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb index 2ff50b6..5370e36 100644 --- a/udev/90-libinput-model-quirks.hwdb +++ b/udev/90-libinput-model-quirks.hwdb @@ -50,6 +50,9 @@ libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:* libinput:mouse:input:b0005v05ACp030D* LIBINPUT_MODEL_APPLE_MAGICMOUSE=1 +libinput:touchpad:input:b0005v05ACp030E* + LIBINPUT_ATTR_SIZE_HINT=130x110 + libinput:touchpad:input:b0003v05ACp021A* LIBINPUT_MODEL_APPLE_TOUCHPAD_ONEBUTTON=1 -- cgit v1.2.3