勤&快

          問題其實(shí)就是你期望的東西和你體驗(yàn)的東西之間的差別
          隨筆 - 55, 文章 - 0, 評(píng)論 - 68, 引用 - 0
          數(shù)據(jù)加載中……

          linux下實(shí)現(xiàn)ibm小紅點(diǎn)加中鍵實(shí)現(xiàn)滾屏

          新建文件/etc/hal/fdi/policy/mouse-wheel.fdi
          寫入如下內(nèi)容:

          <match key="info.product" string="TPPS/2 IBM TrackPoint">
          <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
          <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
          <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
          <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
          <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
          <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
          </match>
          2。重啟后,在命令行輸入

          xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
          xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
          xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Y Axis" 8 4 5
          xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation X Axis" 8 6 7
          重啟
          參考:
          http://tpctl.sourceforge.net/configure-trackpoint.html
          http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

          posted on 2009-03-28 20:33 daning 閱讀(814) 評(píng)論(0)  編輯  收藏 所屬分類: ubuntu

          主站蜘蛛池模板: 临武县| 长海县| 江口县| 宁波市| 丹巴县| 乌审旗| 岳西县| 新津县| 卢湾区| 修武县| 龙州县| 壤塘县| 巴青县| 梓潼县| 和政县| 天全县| 韶山市| 扬州市| 高尔夫| 临潭县| 新宁县| 沙洋县| 准格尔旗| 门头沟区| 谢通门县| 鲁山县| 冀州市| 神木县| 安义县| 福海县| 西华县| 永宁县| 庆元县| 泸定县| 承德市| 阳江市| 资阳市| 罗平县| 天柱县| 博乐市| 贡山|