From e8578c39df44601467b7d859cc783e9121e02827 Mon Sep 17 00:00:00 2001 From: "0m.ax" Date: Sun, 20 Jul 2025 02:14:15 +0200 Subject: [PATCH] bugs --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 417d189..52696ef 100644 --- a/main.py +++ b/main.py @@ -41,7 +41,7 @@ def main(device_path, dest_ip, dest_port): if e.type == libevdev.EV_ABS: if e.code in [libevdev.EV_ABS.ABS_X,libevdev.EV_ABS.ABS_MT_POSITION_X]: x_coor = e.value - elif e.code in [libevdev.EV_ABS.ABS_Y,libevdev.EV_ABS.ABS_MT_POSITION_Y] + elif e.code in [libevdev.EV_ABS.ABS_Y,libevdev.EV_ABS.ABS_MT_POSITION_Y]: y_coor = e.value # When we have both coordinates, send them