diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-11-10 12:49:45 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-11-10 13:07:10 +1000 |
commit | 33d51dbaa4e7f29aab40d4782c2f08bec7dcce12 (patch) | |
tree | 2de6b004958e011d5be650c234b27f8c9ff993e8 /tools | |
parent | 100448ae8e758631d98965196c84542b551e7d08 (diff) |
tools: fix touchpad-edge-detector udev rule output
off-by-one error on the ABS_ axes printed. ABS_X/Y are 0 and 1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/touchpad-edge-detector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/touchpad-edge-detector.c b/tools/touchpad-edge-detector.c index 4dbae11..80ecbe8 100644 --- a/tools/touchpad-edge-detector.c +++ b/tools/touchpad-edge-detector.c @@ -203,8 +203,8 @@ print_udev_override_rule(struct libevdev *dev, const struct dimensions *dim) { printf("# <Laptop model description goes here>\n" "evdev:%s*\n" - " EVDEV_ABS_01=%d:%d:<x resolution>\n" - " EVDEV_ABS_02=%d:%d:<y resolution>\n", + " EVDEV_ABS_00=%d:%d:<x resolution>\n" + " EVDEV_ABS_01=%d:%d:<y resolution>\n", match, dim->left, dim->right, dim->top, dim->bottom); |