Click to See Complete Forum and Search --> : Is it possible to have more than one pointer device?


CMonster
11-02-2001, 05:17 AM
Well, is it possible to have more than one pointer device in Linux?

Specifically (for a laptop), is it possible to write an XF86Config-4 pointer device entry that will allow to use either the touchpad or a USB mouse without having to restart X with a different config file?

I remember a Windows box that had I a PS2 and USB mouse that you could use either and it would just pick up the cursor from where the other left off.

?

bdg1983
11-02-2001, 05:58 AM
It will be possible to setup both a USB and PS/2 device. I have that setup with PS/2 (Trackball) and Serial (Glidepoint).

Section "InputDevice"
Driver "mouse"
Identifier "A4-Tech"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Glidepoint"
Option "Device" "/dev/ttyS0"
Option "Protocol" "GlidePoint"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5 6"
Option "Resolution" "1600"
EndSection

Section "ServerLayout"
Identifier "Default layout"
Screen 0 "Screen0" 0 0
InputDevice "A4-Tech" "CorePointer"
InputDevice "Glidepoint" "SendCoreEvents"
InputDevice "keyboard" "CoreKeyboard"

CMonster
11-02-2001, 09:07 PM
Thanks!