From d3aa017bb713f126bd0eda612838317611f0db14 Mon Sep 17 00:00:00 2001 From: Mendel Greenberg Date: Sun, 25 Oct 2020 00:11:10 -0400 Subject: [PATCH] update some info --- remarkable_mouse/evdev.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/remarkable_mouse/evdev.py b/remarkable_mouse/evdev.py index bc67f57..863287b 100644 --- a/remarkable_mouse/evdev.py +++ b/remarkable_mouse/evdev.py @@ -311,10 +311,9 @@ def pipe_device(args, remote_device, local_device): ) if result.returncode != 0: log.warning("Error setting fit: %s", result.stderr) - Log.debug("Multi-touch orientation: {} {} {} {} {} {} 0 0 1".format(0, 1, 0, -1, 0, 1)) # only does -90, need to determine how to calculate other transforms - result = subprocess.run( + result = subprocess.run( # Just need to rotate the touchscreen -90 so that it matches the wacom sensor. 'xinput --set-prop "reMarkable pen touch" "Coordinate Transformation Matrix" \ - {} {} {} {} {} {} 0 0 1'.format(0, 1, 0, -1, 0, 1), + 0 1 0 -1 0 1 0 0 1', capture_output=True, shell=True )