diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2024-03-18 12:15:41 +1000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-18 23:02:05 +0000 |
commit | 4d9b25b234a54bad5e7eabfa2ca48aa1f2a64918 (patch) | |
tree | 71abf6458d586f0ef0bc170ebc908cada20400a5 | |
parent | 47f94633fe3c1be3f9012a017bf01a1c52f2fe73 (diff) |
test: force the apple magicmouse to 1000dpi
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/986>
-rw-r--r-- | test/litest-device-apple-magicmouse.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/test/litest-device-apple-magicmouse.c b/test/litest-device-apple-magicmouse.c index fa8e3f25..5cc5865b 100644 --- a/test/litest-device-apple-magicmouse.c +++ b/test/litest-device-apple-magicmouse.c @@ -92,16 +92,11 @@ TEST_DEVICE("magicmouse", .events = events, .absinfo = absinfo, - /* Force MOUSE_DPI to the empty string. As of systemd commit f013e99e160f - * ID_BUS=bluetooth now triggers the hwdb entry for this device. This causes - * test case failures because deltas change. Detecting old vs new systemd is - * hard, and because our rules are 99-prefixed we can't set ID_BUS ourselves - * on older systemd. - * So let's go the easy way and unset MOUSE_DPI so we can continue to use - * the current tests. - */ + /* Force MOUSE_DPI to 1000. systemd commit f013e99e160f says it's 1300 + * but our test were written with different assumptions and it's not worth + * re-writing those, so let's assume the default */ .udev_properties = { - { "MOUSE_DPI", "" }, + { "MOUSE_DPI", "1000" }, { NULL }, }, ) |