mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 14:48:09 +02:00
test: force the apple magicmouse to 1000dpi
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/986>
This commit is contained in:
parent
47f94633fe
commit
4d9b25b234
1 changed files with 4 additions and 9 deletions
|
|
@ -92,16 +92,11 @@ TEST_DEVICE("magicmouse",
|
||||||
.events = events,
|
.events = events,
|
||||||
.absinfo = absinfo,
|
.absinfo = absinfo,
|
||||||
|
|
||||||
/* Force MOUSE_DPI to the empty string. As of systemd commit f013e99e160f
|
/* Force MOUSE_DPI to 1000. systemd commit f013e99e160f says it's 1300
|
||||||
* ID_BUS=bluetooth now triggers the hwdb entry for this device. This causes
|
* but our test were written with different assumptions and it's not worth
|
||||||
* test case failures because deltas change. Detecting old vs new systemd is
|
* re-writing those, so let's assume the default */
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
.udev_properties = {
|
.udev_properties = {
|
||||||
{ "MOUSE_DPI", "" },
|
{ "MOUSE_DPI", "1000" },
|
||||||
{ NULL },
|
{ NULL },
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue