LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1052|回复: 3

hal 触摸板问题

[复制链接]
发表于 2009-6-24 05:29:10 | 显示全部楼层 |阅读模式
xorg 使用hald 怎样才可以像windowsxp 下在触摸板上双击,还有单击的操作,一直配置没办法实现,只能使用触摸板下的左右键及中键操作。下面是我的配置文件
<?xml version="2.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
        <merge key="input.x11_options.SHMConfig" type="string">On</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">1000</merge>
        <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">90</merge>
        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

        Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
       <merge key="input.x11_options.TapButton1" type="string">1</merge>
       <merge key="input.x11_options.TapButton2" type="string">3</merge>
       <merge key="input.x11_options.TapButton3" type="string">2</merge>
        For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->
    </match>
  </device>
</deviceinfo>

哪位高人路过,help me
发表于 2009-6-24 07:53:04 | 显示全部楼层
没用过笔记本,建议google "hal touchpad $your_notebook"
http://wiki.archlinux.org/index.php/Touchpad_Synaptics
https://wiki.ubuntu.com/X/Config/Input
回复 支持 反对

使用道具 举报

发表于 2009-6-24 11:07:46 | 显示全部楼层
把註釋去掉,並加上一句:
<merge key="input.x11_options.TapButton1" type="string">1</merge>
回复 支持 反对

使用道具 举报

发表于 2009-6-24 11:50:57 | 显示全部楼层
不用这么复杂的配置文件,写在xorg.conf就可以了,具体看wiki里的配置吧.

  1. Section "InputDevice"
  2.         Driver         "synaptics"
  3.         Identifier     "TouchPad"
  4.         Option         "SendCoreEvents"
  5.         Option         "Protocol" "auto-dev"
  6.         Option         "SHMConfig" "on"
  7.         #Option         "VertEdgeScroll"    "true"
  8.         #Option         "HorizEdgeScroll"   "true"
  9.         #Option         "VertTwoFingerScroll"   "true"
  10.         #Option         "HorizTwoFingerScroll"  "true"
  11.         Option         "TapButton1" "1"
  12.         Option         "TapButton2" "2"
  13.         Option         "TapButton3" "3"
  14.         Option         "RTCornerButton" "2"
  15.         Option         "RBCornerButton" "3"
  16.         Option         "Emulate3Buttons" "true"
  17.         Option         "EmulateMidButtonTime"   "75"
  18.         Option         "CircularScrolling"      "on"
  19.         Option         "CircScrollTrigger"      "0"
  20. EndSection
复制代码


另外,楼主似乎也想配置多点触摸功能,我这里是一直没成功,要是楼主搞定了,记得分享一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表