diff options
author | NeodarZ <neodarz@neodarz.net> | 2017-06-03 14:07:10 +0200 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2017-06-03 14:07:10 +0200 |
commit | 441cfff763f74aab4b5b4964c1486a44dae2e933 (patch) | |
tree | 9c91637805ca439f7a914d4e969e7cef6f8c0522 /touch.py | |
parent | 91b75ad2b9a80c14382ebdc7e2566ef56b1fe999 (diff) | |
download | waveshare-7inch-touchscreen-driver-441cfff763f74aab4b5b4964c1486a44dae2e933.tar.xz waveshare-7inch-touchscreen-driver-441cfff763f74aab4b5b4964c1486a44dae2e933.zip |
Update for work with archlinux
Diffstat (limited to 'touch.py')
-rw-r--r-- | touch.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |