linuxmint / cinnamon-control-center

A collection of configuration plugins used in cinnamon-settings
GNU General Public License v2.0
62 stars 67 forks source link

Enhance wacom control panel to include touchscreen devices to support auto-rotate #272

Open joequant opened 2 years ago

joequant commented 2 years ago
 * cinnamon-control-center version
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
 * Graphics hardware *and* driver used
 * 32 or 64 bit

Issue

Currently cinnamon on yoga requires a helper script to support auto-rotate on devices such as lenovo yoga, so that the pointer matches when there is auto-rotation. Support for fixing the transformation matrix is in the wacom panel but wacom does not support transformations in for touchscreen and assumes that a pen device is necessary

see

https://www.youtube.com/watch?v=ruPIubkTkrQ

64-bit

Steps to reproduce

Run control-center on the following. There is no panel for finger touch device that would allow native support for pointer tracking with autorotate

[joe@mcdull VirtualBox VMs]$ xinput --list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Wacom HID 524E Pen stylus id=9 [slave pointer (2)] ⎜ ↳ Wacom HID 524E Finger touch id=10 [slave pointer (2)] ⎜ ↳ MSFT0001:01 06CB:CD3E Mouse id=11 [slave pointer (2)] ⎜ ↳ MSFT0001:01 06CB:CD3E Touchpad id=12 [slave pointer (2)] ⎜ ↳ Wacom HID 524E Pen eraser id=15 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Video Bus id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ Integrated Camera: Integrated C id=8 [slave keyboard (3)] ↳ Ideapad extra buttons id=13 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]

Expected behaviour

It should be simple to add functionality to control center to support modifying the transformation matrix when the screen rotates.

Other information

joequant commented 2 years ago

see also

https://forums.linuxmint.com/viewtopic.php?t=239800

for current work around

joequant commented 2 years ago

see also linuxmint/cinnamon#9477