You are not logged in.

#1 2022-05-24 15:13:30

hannescam
Member
Registered: 2022-05-23
Posts: 4

[SOLVED] i cant rotate and map a touchscreen at the same time

i have a usb / hdmi touchscreen with the screen 90 degreese rotated, i cant map it with xinput --map-to-output "Weida Hi-Tech CoolTouch® System" DP-3 and rotate the screen back with gnome settings and xinput_calibrator while i have only the touchscreen attached to the system but if i connect another screen it wont work

physicaly rotating the screen is not possible because there is a lip in the way

Last edited by hannescam (2022-05-25 11:54:29)

Offline

#2 2022-05-24 16:03:02

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: [SOLVED] i cant rotate and map a touchscreen at the same time

I have a car and sometimes it doesn't work.
We're not fortune tellers who predict the future nor we have a crystal ball.
Please, provide as much details as possible about your problem.

Last edited by kokoko3k (2022-05-24 16:04:57)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2022-05-25 11:52:02

hannescam
Member
Registered: 2022-05-23
Posts: 4

Re: [SOLVED] i cant rotate and map a touchscreen at the same time

i solved it by physicaly rotating the screen to its right orientation but keeping it rotated in software and then i mapped the touch on to the upsidedown displaying screen with

xinput --map-to-output "Weida Hi-Tech CoolTouch® System" DP-3

then i listed the mapping values with

xinput list-props 'Weida Hi-Tech CoolTouch® System' | grep "Coordinate Transformation Matrix"

then i copied the numbers and pasted them without comma into this

 xinput  set-prop "Weida Hi-Tech CoolTouch® System" --type=float "Coordinate Transformation Matrix" -0.363636 0.000000 0.363636 0.000000 -0.507042 1.000000 0.000000 0.000000 1.000000

and i execute this evreytime i start my pc

Offline

Board footer

Powered by FluxBB