Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2675

Raspberry Pi OS • How to rotate multi touch IR Frame 90 deg clockwise in Wayland labwc

$
0
0
After upgrading my Rpi 4 to the latest Raspberry Pi OS few days ago and switched to the Wayland labwc the multi touch IR Frame that Im using for my Smart Mirror (with LCD monitor behind) is not rotating correctly. What is the correct way to rotate the input in labwc? The issue with touch IR frame is that when I move my finger from left to right the mouse cursor goes down. When I move my finger from top to down the mouse cursor moves from right to left

I have successfully managed to rotate the LCD screen to the left with wlr-randr:

Code:

wlr-randr --output HDMI-A-1 --transform 90
Prior to the upgrade I rotated my IR Frame correctly with the xinput:

Code:

DISPLAY=:0.0 xinput --set-prop "Multi touch   Multi touch overlay device" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
I tried to configure the libinput Calibration metrix with use of udev rules (and different matrix values), but that did not have any effect:

Code:

ACTION=="add|change", SUBSYSTEM=="input", ATTRS{name}=="Multi touch   Multi touch overlay device", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"


libinput lists correctly the IR frame

Code:

libinput list-devicesDevice:           Multi touch   Multi touch overlay deviceKernel:           /dev/input/event4Group:            1Seat:             seat0, defaultSize:             862x482mmCapabilities:     touchTap-to-click:     n/aTap-and-drag:     n/aTap drag lock:    n/aLeft-handed:      n/aNat.scrolling:    n/aMiddle emulation: n/aCalibration:      identity matrixScroll methods:   noneClick methods:    noneDisable-w-typing: n/aDisable-w-trackpointing: n/aAccel profiles:   n/aRotation:         n/a

Statistics: Posted by ismarslomic — Thu Dec 26, 2024 12:26 pm



Viewing all articles
Browse latest Browse all 2675

Trending Articles