ScreenRotator icon indicating copy to clipboard operation
ScreenRotator copied to clipboard

add rotate touch input

Open lsmith77 opened this issue 7 years ago • 3 comments

after rotating the screen by 180 it seems to properly invert the input, but after a 90 degree rotation, the touch input is off on my Lenovo X1 Yoga 3rd gen.

lsmith77 avatar Nov 10 '18 10:11 lsmith77

Hi, I can confirm that screen rotation is ok on a Lenovo X1 Yoga 3rd gen but not the input rotation.

xinput --list

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:15                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:15            	id=7	[slave  pointer  (2)]
⎜   ↳ xwayland-touch:15                       	id=9	[slave  pointer  (2)]
⎜   ↳ xwayland-stylus:15                      	id=10	[slave  pointer  (2)]
⎜   ↳ xwayland-eraser:15                      	id=11	[slave  pointer  (2)]
⎜   ↳ xwayland-cursor:15                      	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:15                    	id=8	[slave  keyboard (3)]

xinput --list-props 9

Device 'xwayland-touch:15':
	Device Enabled (119):	1
	Coordinate Transformation Matrix (121):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (244):	0
	Device Accel Constant Deceleration (245):	1.000000
	Device Accel Adaptive Deceleration (246):	1.000000
	Device Accel Velocity Scaling (247):	10.000000

All others devices have a transformation matrix too

Patatra avatar Nov 15 '18 13:11 Patatra

Could it be that the problems are related to other software?

I managed to make the input work on my Lenovo Yoga X1 Carbon by changing the settings here: image

marcdeop avatar Mar 08 '19 12:03 marcdeop

This fixes it for the pen for me; but if the eraser button is pressed, the input is upsidedown. (X1 Yoga) EDIT: https://github.com/dos1/kded_rotation works fine.

dadosch avatar Nov 23 '19 16:11 dadosch