diff options
Diffstat (limited to '')
-rw-r--r-- | touch_async.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/touch_async.py b/touch_async.py index 6d3d47e..e80233d 100644 --- a/touch_async.py +++ b/touch_async.py @@ -37,8 +37,8 @@ def read_and_emulate_mouse(fd): input_device = uinput.Device([ uinput.BTN_LEFT, uinput.BTN_RIGHT, - uinput.ABS_X, - uinput.ABS_Y, + uinput.ABS_X + (0, 1024, 0, 0), #or 800 + uinput.ABS_Y + (0, 600, 0, 0), #ok 480 ]) clicked = False |