HOWTO Second Mouse
From Gentoo Linux Wiki
| XOrg Index | Configuration | HIDevices | Fonts | Video Cards | Monitors |
Contents |
[edit] Deprecated
Please note that this article is deprecated in favor of HOWTO_Advanced_Mouse. Please update your links.
[edit] Introduction
This Howto is for users who are using a second mouse (e.g. laptop users). In my example the primary device is a touchpad connected internally as a ps2 interface and an usb mouse as second device.
Note: This may not be required anymore, I just plugged in a USB mouse without applying these edits and it worked immediately.
[edit] Xfree Setup
| File: /etc/X11/xorg.conf |
Section "InputDevice" Identifier "PS2Mouse" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/mouse" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "USBMouse" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/usbmouse" Option "Emulate3Buttons" "false" Option "ZAxisMapping" "4 5" EndSection Set touchpad as primary device: Section "ServerLayout" InputDevice "PS2Mouse" "CorePointer" InputDevice "USBMouse" "SendCoreEvents" EndSection |
[edit] Editing /etc/conf.d/usb
X only recognize the usb mouse when attached to the computer by changing following line.
| File: /etc/conf.d/usb |
X11_USBMICE_HACK=true |
