# How to set the Coordinate Transformation Matrix in Wayland?

Hi all, I have a drawing tablet (XP-Pen G430). Since I have dual monitors, I would like to limit the tablet to just one monitor because otherwise, the tablet is unusable. Furthermore, to prevent distortion (from mismatching aspect ratios between the tablet and the monitor), I've limited the tablet to a 1440x1080 region out of my 1920x1080 monitor.

I can do this in X by running xinput set-prop "UGTABLET TABLET G3 4x3 Pen Pen (0)" --type=float "Coordinate Transformation Matrix" 0.75 0 0.125 0 1 0 0 0 1.

I was wondering how I can set the Coordinate Transformation Matrix of an input device in Wayland.

According to this documentation, it seems I have to configure the Wayland compositor.

edit retag close merge delete