forked from wayland-tablet/libinput
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
touchpad: lock the touchpad rotation to the tablet rotation
Follow-up to 6229df1 We must not rely on the caller to toggle the left-handed bits correctly since they may not know which devices belong together (despite device groups). Let's do the right thing here, if the tablet is set to left-handed, rotate the touchpad accordingly. Note that the left-handed setting of the tablet is left as-is (right-handed). Until we have notifications about configuration changes, this is the best we can do. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
- Loading branch information
Showing
2 changed files
with
128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters