PDA

View Full Version : Make Kensington Expert mouse behave


Shadow Skill
15th December 2006, 09:57 PM
I am tring to get my shiny new Kensington expert mouse (http://us.kensington.com/html/2200.html) to behave properly in Linux with no success. I require the top button on the left (button 2) to correspond to a right click, the right most button (button 6) on the top to cirrespong to a left click, and the right nost button on the bottom(button 3) to correspong to a middle click. (I don't know what to do with button one the left most button on the bottom. Maybe a left click lock..)

I have tried xmodmap with no success and can't get the above configuration using xorg.conf directly.(my ideal method of doing this.)

Here is my xorg.conf file:

# File: xorg.conf
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection


#Section "InputDevice"
#Identifier "Mouse1"
#Driver "mouse"
#Option "Protocol" "ImPS/2"
#Option "ZAxisMapping" "4 5"
#Option "Device" "/dev/input/mice"
# EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "SendCoreEvents" "false"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Receiver"
Option "Dev Phys" "usb-*/input1"
Option "Device" "/dev/input/event3"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5 7 6"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "evdev"
Option "SendCoreEvents"
Option "Device" "/dev/input/event1"
Option "Dev Name" "Kensington Kensington Expert Mouse"
Option "Dev Phys" "usb-000:00:02.0-3/input0"
# /dev/input/mice can emulate plain PS2, ImPS/2 and ExplorerPS/2;
# only this one supports more than 3 buttons + scrollwheel:
Option "Protocol" "auto"
# scroll wheel
Option "ZAxisMapping" "5 6"
# four real buttons and the scroll wheel:
Option "Buttons" "6"
Option "ButtonMapping" "6 2 3 4 5 1"
# This bit's optional; it configures button 4 as a sort of 'lock'
# button, so instead of holding down one of the other buttons you
# first press button four then click the other button:
# Option "DragLockButtons" "6"
EndSection