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