7 button mouse

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

7 button mouse

Post by haveanotherpuff »

I have a seven button mouse,I have all them working properly except button 2 and 3 are reversed,button 2 instead of being the right click is now the scroll wheel click and vice versa,the wheel scroll as it should but the wheel click is acting as the right click should.

It is very irratating.

I have installed imwheel and edited zorg..conf like this,which I found in other post,but still no go::

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
telic
Level 3
Level 3
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Post by telic »

Try changing your ButtonMapping option to this...

Code: Select all

Option "ButtonMapping" "1 3 2 6 7"
Close all apps and restart your X server (Ctrl-Alt-Backspace).

Any difference with the mouse buttons then?

------
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Post by haveanotherpuff »

I was trying something i saw in Google and now i have no x,and cannot remember enough cli to even get to the xii folder and edit the xorg.conf
.looks like i will re-install,or do more googling,lol,thanks for tip,will try it soon as possible.
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

haveanotherpuff wrote:and cannot remember enough cli
Login on the text terminal, and then type this command:

Code: Select all

sudo dpkg-reconfigure xserver-xorg
Hope this helps ... :?
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Post by haveanotherpuff »

Thank you I just found something like that but for xfree was just going to ask what you gave,was also thinking about just using the live cd to see if i could edit it there but will try this first. thanks.
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Post by haveanotherpuff »

Option "ButtonMapping" "1 3 2 6 7"
Still the same buttons are reversed.

dpkg thing worked great though.Thanks

any other ideas out there to fix this?
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

xev

Post by haveanotherpuff »

Did a xev:
Button 3 is wheel click:but acts as right click
Button 2 is right click:is right click but acts as wheel click



ButtonPress event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809964635, (39,36), root:(891,261),
state 0x0, button 3, same_screen YES

EnterNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809964635, (39,36), root:(891,261),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 1024

KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ButtonRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809964889, (39,36), root:(891,261),
state 0x400, button 3, same_screen YES

LeaveNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809964889, (39,36), root:(891,261),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

ButtonPress event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809991744, (39,36), root:(891,261),
state 0x0, button 2, same_screen YES

EnterNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809991744, (39,36), root:(891,261),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 512

KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ButtonRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809991978, (39,36), root:(891,261),
state 0x200, button 2, same_screen YES

LeaveNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809991978, (39,36), root:(891,261),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Post by haveanotherpuff »

This somehow fixed it,only problem is is that when I rebooted the only buttons that worked were the right.left.and wheel,button,side buttons stopped.

echo -e "pointer = 1 2 3 6 7 8 9 10 11 12 4 5\n" > ~/.Xmodmap

echo -e "pointer = 1 3 2 4 5 8 9 6 7\n" > ~/.Xmodmap

xmodmap -e "pointer = 1 3 2 4 5 6 7"
User avatar
haveanotherpuff
Level 1
Level 1
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Post by haveanotherpuff »

I do not know what or why but all buttons are working this morning after a reboot,hopefully will stay working properly.
Thanks for everything.
Locked

Return to “Other topics”