https://bugs.kde.org/show_bug.cgi?id=521464

            Bug ID: 521464
           Summary: Udev rules for LIBINPUT_CALIBRATION_MATRIX do not work
                    on wayland
    Classification: Plasma
           Product: kwin
      Version First 6.6.5
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: libinput
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

Udev rules for LIBINPUT_CALIBRATION_MATRIX do not work on wayland, they work on
the plasma's x11 session.

I have a device that has a touchscreen that is rotated by 180°, i use this udev
rule to fix it:

ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"

That rule works fine on x11 but doesn't work on wayland.



STEPS TO REPRODUCE
1. Apply the udev rule
2. reboot the computer
3. login again

OBSERVED RESULT

Touchscreen input is not working

EXPECTED RESULT

Touchscreen input should be rotated by 180°


SOFTWARE/OS VERSIONS

Operating System: CachyOS Linux 
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.11-1-cachyos (64-bit)
Graphics Platform: offscreen
Processors: 4 × Intel® Celeron® N5095 @ 2.00GHz
Memory: 16 GiB of RAM (15.4 GiB usable)


ADDITIONAL INFORMATION

The behavior can be replicated on other Wayland environments, it also works
fine on other x11 desktop environments.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to