/etc/pointercal.xinput
調べてみたのでメモ。
とりあえず中を見る。
$ cat /etc/pointercal.xinput xinput set-int-prop "USB Touch Screen" "Evdev Axis Calibration" 32 49 6374 173 4591; xinput set-int-prop "USB Touch Screen" "Evdev Axes Swap" 8 0;
書式を調べてみる。
xinput コマンドを列挙してるだけっぽい。
xinput コマンドの書式:
xinput set-int-prop <device> <property> <format (8, 16, 32)> <val> [<val> ...]
property によって以降の書式が変わるようだ。
"Evdev Axis Calibration" プロパティの書式:
4 32-bit values, order min-x, max-x, min-y, max-y or 0 values to disable in-driver axis calibration.
"0 values" の書き方:
$ xinput set-int-prop 32 0 0 0 0
"Evdev Axes Swap" プロパティの書式:
1 boolean value (8 bit, 0 or 1). 1 swaps x/y axes.