Hyprland
Hyprland copied to clipboard
Allow to pass our own calibration matrices for touch devices
Description
At this moment we have only 7 pre-installed calibration matrices. https://github.com/hyprwm/Hyprland/blob/2a3429d4cfdc01794b9d6fc1b49be1da019b5606/src/managers/input/InputManager.hpp#L43-L58 Only for rotating touch input, but it would be nice to have a possibility to pass in our own matrix, like this:
device:touchdevice {
transform = '-1.3 3.7 0 0 1 0 0 0 1'
}
Also it would be cool to keep the old transform as well, but the feature I suggested above is enough, because right now I literally can't use my touchscreen.