From 441cfff763f74aab4b5b4964c1486a44dae2e933 Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Sat, 3 Jun 2017 14:07:10 +0200 Subject: Update for work with archlinux --- touch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'touch.py') diff --git a/touch.py b/touch.py index 4a5a358..fe13cf6 100644 --- a/touch.py +++ b/touch.py @@ -16,8 +16,8 @@ def read_and_emulate_mouse(deviceFound): device = uinput.Device([ uinput.BTN_LEFT, uinput.BTN_RIGHT, - uinput.ABS_X + (0, 1024, 0, 0), #or 800 - uinput.ABS_Y + (0, 600, 0, 0), #ok 480 + uinput.ABS_X + (0, 800, 0, 0), #or 800 + uinput.ABS_Y + (0, 480, 0, 0), #ok 480 ]) clicked = False -- cgit v1.2.1