続々 xf86-input-ws
キャリブレーション情報取得で得られる MinX, MaxX, MinY, MaxY は xorg.conf で指定できるようなのでとりあえずパッチは不要かねぇ。ums(4) はキャリブレーション情報持ってないしなぁ。
現在の xorg.conf をバックアップ。
Section "ServerLayout" Identifier "wsfb" Screen 0 "Screen0" 0 0 InputDevice "TouchScreen0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" FontPath "/usr/X11R7/lib/X11/fonts/misc/" FontPath "/usr/X11R7/lib/X11/fonts/TTF/" FontPath "/usr/X11R7/lib/X11/fonts/Type1/" FontPath "/usr/X11R7/lib/X11/fonts/75dpi/" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "sl-c3x00" EndSection Section "InputDevice" Identifier "TouchScreen0" Driver "ws" Option "device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" Option "MinX" "0" Option "MaxX" "479" Option "MinY" "0" Option "MaxY" "639" Option "Rotate" "CW" EndSection Section "Device" Identifier "Wsdisplay0" Driver "wsfb" Option "Rotate" "CW" EndSection Section "Monitor" Identifier "Monitor" VendorName "Sharp" ModelName "Zaurus" EndSection Section "Screen" Identifier "Screen0" Device "Wsdisplay0" Monitor "Monitor" DefaultDepth 16 SubSection "Display" Depth 16 EndSubSection EndSection