USBタブレットを使う

USBタブレット(wacom intuos i-600) がUSBマウスとして認識されてしまってたので、/etc/X11/XF86Config-4に設定追加。


環境:


ServerLayoutセクションへの追加設定

Section "ServerLayout"
       	InputDevice    "IntuosPen" "AlwaysCore"
        InputDevice    "IntuosEraser" "AlwaysCore"
        InputDevice    "IntuosCursor" "AlwaysCore"
EndSection


Moduleセクションへの追加設定

Section "Module"
	Load "wacom"
EndSection


InputDeviceセクションへの追加設定

Section "InputDevice"
        Identifier "IntuosPen"
        Driver     "wacom"
        Option     "Type" "stylus"
        Option     "Device" "/dev/input/event0"
        Option     "USB" "on"
#       Option     "Mode" "Relative"
        Option     "Mode" "Absolute"
        Option     "Suppress" "10"
        Option     "Threshold" "100"
        Option     "Tilt" "on"
        Option     "DebugLevel" "1"
        Option     "HistorySize" "200"
EndSection

Section "InputDevice"
        Identifier "IntuosEraser"
        Driver     "wacom"
        Option     "Type" "eraser"
        Option     "Device" "/dev/input/event0"
        Option     "USB" "on"
#       Option     "Mode" "Relative"
        Option     "Mode" "Absolute"
        Option     "Suppress" "10"
        Option     "Threshold" "100"
        Option     "Tilt" "on"
        Option     "DebugLevel" "1"
        Option     "HistorySize" "200"
EndSection

Section "InputDevice"
        Identifier "IntuosCursor"
        Driver     "wacom"
        Option     "Type" "cursor"
        Option     "Device" "/dev/input/event0"
        Option     "USB" "on"
#       Option     "Mode" "Relative"
        Option     "Mode" "Absolute"
        Option     "Suppress" "10"
        Option     "Threshold" "100"
        Option     "Tilt" "on"
        Option     "DebugLevel" "1"
        Option     "HistorySize" "200"
EndSection


これでそれなりに使えるっぽ。
ちなみに、ModeをRelativeにするとマウス的挙動(相対座標系)になる。
あと、Suppressはポインタの追随度合みたいなもんかなぁ。
Thresholdは筆圧の感度。小さくすればするほど敏感にある、のかな。
Tiltは傾き検知。


詳細はこちら。
http://www.tldp.org/HOWTO/Wacom-Tablet-HOWTO-5.html