mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 00:00:15 +01:00
We're starting to collect overrides for custom devices, making this easier for users and saves us time. Once we measured everything, print out a guesstimated udev rule and instructions on how to calculate the resolution. Extra output now is: Touchpad size as listed by the kernel: 132x111mm Calculate resolution as: x axis: 6076/<width in mm> y axis: 5021/<height in mm> Suggested udev rule: # <Laptop model description goes here> evdev:input:b0005v05ACp030E* EVDEV_ABS_01=-2694:2862:<x resolution> EVDEV_ABS_02=-20:121:<y resolution> EVDEV_ABS_35=-2694:2862:<x resolution> EVDEV_ABS_36=-20:121:<y resolution> The ABS_MT_ axes are only printed if the device have them, if the device isn't bluetooth/usb we print the dmi modalias instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| libevdev-events.c | ||
| libevdev-tweak-device.1 | ||
| libevdev-tweak-device.c | ||
| Makefile.am | ||
| mouse-dpi-tool.c | ||
| publish-doc | ||
| touchpad-edge-detector.c | ||