LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 08-08-2008, 12:06 PM   #1
Seph64
Member
 
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:

Code:
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"
EndSection
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
makuyl
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:
Code:
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"
EndSection
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
 
  


Reply


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 09:28 PM.

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