[xmonad] [dons@galois.com: Re: More than 5 mouse buttons in Graphics.X11?]

Lukas Mai l.mai at web.de
Mon Feb 4 16:11:28 EST 2008

Am Montag, 4. Februar 2008 schrieb Brandon S. Allbery KF8NH:
> On Feb 4, 2008, at 13:13 , Friedrich Delgado Friedrichs wrote:
> >> Somebody on #xmonad claimed that it might be necessary to use the
> >> XInput library to add support for mice with more than 5 buttons in
> >> xmonad (or any other haskell program).
> That was me; see above for the reason.  The XInput extension provides
> access to unlimited mouse buttons, as opposed to the standard XEvent
> API which is limited to 5 buttons.

I don't know how this stuff works but my xmonad.hs simply uses 8 and 9
instead of button8 and button9, respectively; it seems to work fine.


More information about the xmonad mailing list