Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2002-05-28 12:02:13
Size: 1549
Editor: SimonHuggins
Comment:
Revision 10 as of 2005-03-15 09:32:35
Size: 1869
Editor: ccs1
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
CategoryComputingTips > XFree86CompTips CategoryComputingTips > ["XFree86CompTips"]
Line 53: Line 53:
   [http://www.andrewsaluk.com texas holdem] - poker online poker texas holdem |
[http://www.andrewsaluk.com online poker] - poker empire poker online poker |
[http://www.andrewsaluk.com poker] - empire poker poker online poker |
[http://www.andrewsaluk.com empire poker] - poker empire poker online poker |

CategoryComputingTips > ["XFree86CompTips"]

XFree86 Tips

5 button mouse with XFree86 4

You have to map your side buttons to the wheel buttons since X can't see more than 5 buttons and counts the wheel up and down as buttons.

I use this in my XF86Config-4:

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

Then I map the buttons 6 7 back to 4 and 5 in my ~/.xsession so the wheel works

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

And I run imwheel so that the side buttons actually do something and map them to do things like this in my .imwheelrc:

"^xmms"
None,           Left,   Z
None,           Right,  B

You can try and debug it should it not just work for you with xmodmap -pp and xev


I used the following to get backwards and forwards in galeon:

"^galeon"
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right

Look in /usr/include/X11/keysymdef.h to find out all the keys you can use (remove the XK_ from the start) and use | to combine keys. For instance for emacs you might use: None,           Down,   Control_L|Meta_L|Shift_L|parenright


CategoryComputingTips

[http://www.andrewsaluk.com online poker] - poker empire poker online poker | [http://www.andrewsaluk.com poker] - empire poker poker online poker | [http://www.andrewsaluk.com empire poker] - poker empire poker online poker |

TheEarthWiki: XFree86CompTips (last edited 2008-02-19 15:39:12 by localhost)