Mouse Scroll Wheel, no click, left/right tilt problem.
my xorg section:
Code:
Identifier "Mouse1" My scroll wheel also has a left and right scroll, which will be useful for various compiz effects, but when I test them in xev, it tells me that they are the same as the left and right buttons on my keyboard. (keys 100 and 102) It detects my mouse left and right click as button 1 and button 3, respectively, and likewise scroll up and scroll down as 4 and 5. How can I make it know to map button 2 as middle click, button 6 as scroll left, and button 7 as scroll right? |
For the scroll wheel, you have
Code:
Option "Protocol" "ImPS/2" Code:
Option "Protocol" "IMPS/2" |
No, that didn't seem to do anything,
|
Comment -> Option "Buttons" "5"
and keep the Emulate line commented. You must restart the X server before changes to /etc/X11/xorg.conf will take effect. Here's what I use: Code:
"Section "InputDevice" Sorry but I've never been interested in all those other buttons/functions, so I've no clue about them. |
Quote:
Option "ZAxisMapping" "4 5" is used. |
If you want to use a lot of buttons, I find it’s easiest to ditch the X mouse driver for the X evdev driver. There are guides on doing this around the internet.
|
All times are GMT -5. The time now is 10:49 PM. |