From a2515fc3f6836e599da373a4f27c00eb97a3e7b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Sat, 18 May 2024 18:47:36 +0200 Subject: [PATCH] evdev: log the right mouse wheel angle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Expósito Part-of: --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index 2a49f655..7ed3eab8 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1422,7 +1422,7 @@ evdev_read_wheel_click_props(struct evdev_device *device) if (evdev_read_wheel_click_count_prop(device, hwheel_count, &angles.x) || evdev_read_wheel_click_prop(device, hwheel_angle, &angles.x)) { evdev_log_debug(device, - "wheel: horizontal click angle: %.2f\n", angles.y); + "wheel: horizontal click angle: %.2f\n", angles.x); } else { angles.x = angles.y; }