blakken
May 24th, 2005, 05:21 AM
2 years!Took me two bloody years to finally realize it was as simple as this to have all my buttons supported under xorg (previously xfree) .Throught all the internet sites none of them were referencing this config and supporting this trackball! I suppose I'm far from being this only one using it under linux.
Let's make this simple,no point on adding imwheel package ,not even xmodmap.
SImply follow this:
in /etc/X11 change xorg.conf ,go to section Inputdevice and do those modifications:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
EndSection
Et Voilą!
right side buttons work perfectly as previous and forward under mozilla!
Restart xorg and under console start xev you should see while clicking:
*for button 6:
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 69 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 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x2a00002, time 960673, (54,39), root::(56,659),
state 0x0, button 6, same_screen YES
LeaveNotify event, serial 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 960673, (54,39), root::(56,659),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
*for button 7:
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 69 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 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x2a00002, time 956858, (54,39), root::(56,659),
state 0x0, button 7, same_screen YES
LeaveNotify event, serial 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 956858, (54,39), root::(56,659),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
\\:D/
Let's make this simple,no point on adding imwheel package ,not even xmodmap.
SImply follow this:
in /etc/X11 change xorg.conf ,go to section Inputdevice and do those modifications:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
EndSection
Et Voilą!
right side buttons work perfectly as previous and forward under mozilla!
Restart xorg and under console start xev you should see while clicking:
*for button 6:
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 69 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 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x2a00002, time 960673, (54,39), root::(56,659),
state 0x0, button 6, same_screen YES
LeaveNotify event, serial 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 960673, (54,39), root::(56,659),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
*for button 7:
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 69 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 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x2a00002, time 956858, (54,39), root::(56,659),
state 0x0, button 7, same_screen YES
LeaveNotify event, serial 30, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 956858, (54,39), root::(56,659),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
\\:D/