Code: Select all
Section "InputClass"
Driver "libinput"
MatchProduct "ar1021 I2C Touchscreen"
Identifier "calibration"
Option "MinX" "1611"
Option "MaxX" "63760"
Option "MinY" "5234"
Option "MaxY" "62213"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
This TransformationMatrix works well, but I don't know how to recalculate MinMax XY output to this matrix (would not like to do it manually). My questions are:
- Why my xorg do not accept Min/Max X/Y format of InputClass section?
- Is there any way how to recalculate this output into the TransformationMatrix automaticly? (xinput_calibrator parameter or some console utility)
Many thanks in advance.