diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-03-30 15:04:13 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-03-30 15:04:13 +1000 |
commit | 5dac1ece8c122450ce81be8c96d93676b9bc8209 (patch) | |
tree | bb564325cb06aac9817f985d97dec3f4fa337be8 /udev | |
parent | 4030959f35a3178aa395339637e357af527da0ad (diff) |
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 <peter.hutterer@who-t.net>
Diffstat (limited to 'udev')
-rw-r--r-- | udev/90-libinput-model-quirks.hwdb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |