Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-20-2006, 12:05 AM   #1 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default 5 buttons mouse....................

I am in a doosy of a pickel lol

heres my mouse:



i want to make the side two buttons work, heres the mouse section of my xorg.conf:


Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "True"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection


wtf am i doing wrong?

currently scroll up in firefox is back, and scroll down is forward. the side buttons do nothing

i want side buttons to be forward and back and scroll up and down
The General is offline  
Old 04-20-2006, 03:01 AM   #2 (permalink)
 
Ultra Techie

Join Date: May 2005

Location: Townsville, QLD

Posts: 640

jakec is on a distinguished road

Default

If that Configuration Doesn't Work, try this one:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "SendCoreEvents" "true" # Not sure if this line is needed ??
Option "Device" "/dev/input/mice"
Option "Buttons" "4 5" # side buttons scroll up/down
Option "ZAxisMapping" "6 7" # wheel moves forward/back in the browser
EndSection

Interchange the "4 5" with the "6 7"

FYI: This was the only way I could manage to get xev to even recognize the 2 side buttons on the mice at the same time that it recognized the wheel movements. Notice that the buttons now scroll the mouse, and the wheel moves forward/back (next/back) in a browser. To fix this I had to remap the mouse buttons by adding the following line to my startup script. (read below on which file this is for you)

xmodmap -e "pointer = 1 2 3 6 7 4 5"


Source: http://gentoo-wiki.com/HOWTO_Mouse_Nav_Buttons

Jake
jakec is offline  
Old 04-20-2006, 11:17 AM   #3 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

i tried that and when i have it set like you have it, the wheel goes forward and back, the side buttons dont scroll up or down, and when i switch it around, the wheel scroll (like i want) but the side buttons dont go forward or back

i dunno, i dont even care if it goes forward or back, i just need these two buttons for games
The General is offline  
Old 04-21-2006, 12:18 AM   #4 (permalink)
 
Ultra Techie

Join Date: May 2005

Location: Townsville, QLD

Posts: 640

jakec is on a distinguished road

Default

General,

It is hard to tell but it looks like your Mouse Configuration is a 7 button and not a 4 button, am I right? if so you will need to follow this

if it is a four button mouse, or the below configuation doesn't work then you will need to find the corrrect configuration Here:

http://gentoo-wiki.com/HOWTO_Mouse_Nav_Buttons

First, you need to change your XF86Config file to use a newer protocol called ExplorerPS/2. You also need to tell the mouse driver that there are now seven buttons in total (left, middle, right, wheelup, wheeldown, and, depending on your mouse, side-left and side-right or thumb-forward and thumb-back). You must also tell it to map the ZAxisMapping to buttons 6 and 7, NOT 4 and 5.

Note: Depending on your hardware, the Device location might change. It could also be /dev/input/mice

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

again if you are finding no joy with that try switching the "emulate 3D buttons" to false

That is all my Expertese on this subject I'm Afraid

Jake
jakec is offline  
Old 04-21-2006, 02:13 AM   #5 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

ahh i've just been omitted the emulate3buttons option, i havent tried it as false
The General is offline  
Old 04-21-2006, 02:17 AM   #6 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

ahh it works thanks, oh and the sendcorevents fixed another problem i had

mouse clicks were lagging a little and its not now :-D

thanks
The General is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On