Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

add rotate touch input #11

Open
Open

Description

@lsmith77

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.

Activity

  1. Patatra commented on Nov 15, 2018

    @Patatra

    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

  2. marcdeop commented on Mar 8, 2019

    @marcdeop

    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

  3. dadosch commented on Nov 23, 2019

    @dadosch

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions