Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse causes browser "back" command
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
btrip
n00b
n00b


Joined: 06 Mar 2004
Posts: 14

PostPosted: Tue Feb 08, 2005 7:11 am    Post subject: Mouse causes browser "back" command Reply with quote

I have managed to configure my IBM optical usb mouse to scroll. It uses a stick for vertical and horizontal scrolling. It works fine except when using it in a browser is causes the browser to go "back". My XF86Config file is:


Code:
Section "InputDevice"

# Identifier and driver

    Identifier  "USB Mouse"
    Driver      "mouse"
    Option "Protocol"    "auto"
    Option "Device"      "/dev/input/mouse1"
    Option "ZAxisMapping" "5 4 6 7"
    Option "Buttons"      "7"
    Option "SendCoreEvents" "true"

EndSection


I've tried every combination of "4 5 6 7" that I can. It will work with the 4 and 5 reversed it just inverts the scrolling.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Feb 08, 2005 7:18 am    Post subject: Reply with quote

Do you use imwheel by chance?
Back to top
View user's profile Send private message
btrip
n00b
n00b


Joined: 06 Mar 2004
Posts: 14

PostPosted: Tue Feb 08, 2005 7:26 am    Post subject: Reply with quote

i'm not sure. If I am i'm unaware of it. How could I find out?
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Feb 08, 2005 7:44 am    Post subject: Reply with quote

I think that problem's with your "Buttons" setup, but I'm not sure because I've never setup an IBM mouse before (I have an M$ Intellimouse).
Back to top
View user's profile Send private message
yogipsu
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 98

PostPosted: Tue Feb 08, 2005 8:33 am    Post subject: Reply with quote

Try some variation of:

Code:
    Option      "Protocol"      "ExplorerPS/2"
    Option      "Device"        "/dev/input/mice"
    Option      "Buttons"       "7"
    Option      "ZAxisMapping"  "6 7"
    Option      "Resolution"    "100"


Note that you don't need to use imwheel to have the mouse wheel scroll. You also don't want more than 2 entries for the ZAxisMapping key.

Add this to your .xinitrc:

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


The above is for a MS Intellimouse Explorer, but it's fully functional with the above setup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum