Mouse keys above number 5 in X.h

  • Follow


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. 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 email, change nospam.com into yahoo.com.
0
Reply voor_achter (6) 8/17/2003 1:02:58 PM


0 Replies
34 Views

(page loaded in 0.018 seconds)

Similiar Articles:













7/23/2012 9:18:20 AM


Reply: