Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-08-2008, 12:06 PM   #1
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Rep: Reputation: 30
Remapping Mouse Buttons on a MS Comfort Optical Mouse 3000

I hope this is in the right place, but here it goes.

I have a MS Comfort Optical Mouse 3000, and of course I want it to behave similarly to the way I have it setup in Windows.

It has a tilt/scroll wheel (it scrolls up and down normally, but also can be pressed to the right/left to scroll horizontally), and a thumb button (magnifier by default in Windows with it's software setup, but I changed it to a "back" button).

Currently the xorg.conf file has the following in the relavent sections:

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"       # IntelliMouse PS/2
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5"
    Option "Buttons"        "8"
The reason for "Option "Buttons" "8"" is because with middle click, scroll wheel, tilt, and thumb button (with the normal left and right buttons), the total comes to 8.

The xorg file also stated that "6&7" are normally mapped to horizontally scrolling, but the tilt wheel still does nothing when "Option "ZAxisMapping" "4 5 6 7"" is set.

Thumb buttons acts like a right click, which is not desired.

Hope someone can help me.
Old 08-10-2008, 03:55 PM   #2
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
You should try "6 7" and not "4 5 6 7". Anyway, this is what I use for an 11 button mouse:
Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "11"
        Option          "ButtonMapping"         "1 2 3 6 7 4 5 8 9 10 11"
        Option          "Emulate3Buttons"       "true"
        Option          "Emulate3Timeout"       "70"
        Option          "SendCoreEvents"        "true"
YMMV, so you probably have to experiment with the mapping unless you google your model and ButtonMapping. You might want to change the protocol as well to "ExplorerPS/2".

Last edited by makuyl; 08-10-2008 at 04:04 PM. Reason: speeling mistake


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Microsoft Wireless Notebook Optical Mouse 4000 on SLED 10 Aleksej Linux - Hardware 1 01-12-2007 10:54 PM
Optical Mouse PS/2 in Kanotix: Wont Move! only the 2 buttons and scroll work. karisu123 Linux - Hardware 0 01-03-2007 07:23 PM
Kanotix: computer recognizes PS/2 optical wheel mouse, but mouse does not work.. karisu123 Linux - Hardware 1 01-02-2007 04:30 AM
microsoft comfort optical mouse 3000 linux linuxmandrake Linux - Hardware 1 02-09-2006 04:23 PM
Wisetech optical mouse and mouse wheel support bigredgiant1 Linux - Hardware 2 12-31-2003 05:57 AM

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration