2009年5月8日金曜日

ubuntu 9.04 trackman marble fx

どうも最近のXorgはxorg.confをちゃんと読んでくれていない?マウスの設定はhalが認識してしまうらしい。で、trackman marble fxがうまく動いてくれないので、 こちらを参考に、 こんな/etc/hal/fdi/policy/mouse-wheel.fdi を書いてみた。マウスの名前は/var/log/dmsgに出ていたもの。
<match key="info.product" string="PS2++ Logitech Mouse">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">8</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string"<true</merge>
</match>
スクロールが動くようになった。めでたい。

0 件のコメント: