Next Previous Contents

4. 使 touch screen 和鼠标同步

使 touch screen 和鼠标同步 你需要将鼠标的设定加入Xinput-section. 这个设定和Pointer-section差不多. The following example is for a PS/2-mouse:


Section "Xinput" 
   SubSection "Mouse" 
      Protocol "PS/2" 
      Port "/dev/mouse" #could also be /dev/psaux 
      DeviceName "Mouse" 
      AlwaysCore 
   EndSubSection
...
EndSection 

许多人提出了建议,尤其是 AlwaysCore 的用法.我感谢他们!!


Next Previous Contents