[Q] X on Mac OS X - XKB mouse button emulation
I am running XFree86 4.0.3 w/ XAqua 0.5 on Max OS X. I
would like to
use XKB to map keys to mouse button 2 and mouse button 3
However, I'm having difficulties getting this to work.
documentation is sparse and most newsgroup postings talk
XFree86Config file which is not used on Macs.
It seems as if mouse button presses are defined in
/etc/X11/xkb/compat/mousekeys. However, I can't seem to
is defined in mousekeys. Do I have to use xkbcomp to
definitions for this to work? Once I complie how to I
compiled document into the Xserver? There are no .xbd
or .xkm files on
my system now so I didn't think I had to do this.
One source suggested that I use:
xmodmap -e "keysym Num_Lock = Num_Lock
to activate mousekeys. However, xmodmap does not accept
Num_Lock as an
argument. If I change this to use F15 then, I can
activate "some" mode
where KP_5 is button 1 and KP_0 is button 1 press and
KP_. is button 1
release. However, none of the other definitions in
How do I activate all the definitions in mousekeys? I
didn't want to
change mousekeys file to map command-2 and command-3
until I actually
saw what was defined there working.
What would be the syntax for changes to mousekeys to map
instead of KP_Multiply and command-3 instead of
How do I get this to be enabled by default?
Pls. let me know how I should proceed, or point me to a
Log in to post a comment.