Mouse keys above number 5 in X.h

From: Halfgaar (voor_achter_at_yahoo.remove.com)
Date: 08/31/03


Date: Sun, 31 Aug 2003 16:26:41 +0200

I've been trying to get keyboard keys bound to mousebuttons by using
xbindkeys and xmacroplay. Xbindkeys unfortunately has a problem, a problem
it is forced to have because of a limitation in the X header files.

The X header file X.h (/usr/X11R6/include/X11/X.h on my disk) has a few
predifned buttons, ranging from 1 to 5. Xbindkeys makes use of the
ButtonXMask buttonmask, where X is a number. Unfortunateley, the highest one
is for button five.

Is it simple to add Button6-to-10Mask without problems? How exactly should I
do this? I assume just adding Button6Mask and up in X.h won't cut it, would
it?

TIA

Halfgaar

-- 
To send me, Halfgaar, email, remove remove from my email address.

Quantcast