On 06 Jun 2001 11:55:10 +0200, Dominik Vogt wrote: > > On Tue, Jun 05, 2001 at 10:37:19PM +0000, Mikhael Goikhman wrote: > > On 05 Jun 2001 14:03:25 -0500, [EMAIL PROTECTED] wrote: > > > > > > Message summary for PR#718 > > > From: [EMAIL PROTECTED] > > > Subject: want more than 5 mouse buttons > > > Date: Tue, 05 Jun 2001 14:03:23 -0500 > > > > > > fvwm doesn't seems too support more than 5 mouse buttons, or at least > > > the parser doesn't allow number greater than 5; or it is quiet common > > > now to find mouses with 6 or 7 buttons (2 for the wheels, 3 buttons, > > > and 1 or 2 thumb buttons) > > > > > > The error message is: > > > [FVWM][ParseBinding]:<<ERROR>>Illegal mouse button in line 6 R A > > > GnomeButton > > > > This is because X itself does not support correctly more than 5 mouse > > buttons as may be verified in X11/X.h file. > > > > I should add that although fvwm does a good thing to ensure that all > > buttons work correctly and fully, this check is a bit too conservative. > > > > If you remove this check (button > NUMBER_OF_MOUSE_BUTTONS), and then > > use this command to map buttons 123 to other values, say, 159: > > > > xmodmap -e "pointer = 1 5 9" > > > > you will see that all "I" functions and many complex functions bound on > > mouse button 9 work. However there are "small" problems, although "C", "H" > > and "D" work acceptably ok, "M" is considered to be "C". Also "Mouse 9 W" > > does not work in xterm (it works in xcalc), because xterm is, like FVWM, > > also too conservative and does not accept buttons greater than 5. > > > > I myself have a mice with 8 buttons (2 wheels and one thumb, 3 + 2*2 + 1), > > I can configure X to recognize them all, but this has its own problems, > > so I ended up to define only 5 (both wheels behave as one), that works > > with no problems. > > > > Since more than 5 mice buttons can't work fully in the current X, I leave > > it up to Dominik to decide whether it is good to enable for users to use > > more buttons on their own risk (yes, they only work partially, but work). > > How are these mouse buttons addressed without the proper X macros? > Obviously there are no bits left for a "Button6MotionMask". And > only Button6Mask and Button7Mask would fit into the free bits. > The button number itself is not a problem.
You may test yourself after remapping button numbers using xmodmap. The important thing is that it is possible to detect press and release of buttons with numbers greater than 5 and thus support "I", "C", "D", "H". Of course, it is impossible to support dragging using mouse buttons greater than 5. I gathered this info by tests only, it may not be full. Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]