From d3481c88072d0a9713939d0eb0fb83478a032186 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 18 Apr 2023 16:53:05 +1000 Subject: evdev: if a device's rotation is around 180 degrees, flip the wheel For a device used upside-down, make sure the wheels correspond to the new physical directions. There's a grace range of 20 degrees either way since that seems like it makes sense. For 90 degree rotation (or 270 degree) the wheel is left as-is, the heuristics to guess what angle we want in this case is not clear enough. Signed-off-by: Peter Hutterer --- doc/user/configuration.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/user/configuration.rst b/doc/user/configuration.rst index f895d602..16207285 100644 --- a/doc/user/configuration.rst +++ b/doc/user/configuration.rst @@ -173,3 +173,7 @@ allowing the device to be used e.g. sideways or upside-down. For example, a trackball may be used in a 90° rotated position for accessibility reasons - such a rotated position allows triggering the buttons with the thumb or the non-dominant hand. + +Note that where a device rotation is higher than 160 but less than 200 degrees, +the direction of wheels is also inverted. For all other angles, the wheel +direction is left as-is. -- cgit v1.2.1