QUOTE(ZDevil @ Mar 21 2008, 05:08 AM)
QUOTE(gojira @ Mar 20 2008, 11:55 AM)
If the X server supports the XKB extension you can use xmodmap to map the mouse buttons onto the keyboard, see http://www.geocities.jp/fred_b_maciel/kbd/kbd-e.html
So what does "...On .xinitrc, I read the symbols with xmodmap from a file that contains the lines below. This maps the keys to the buttons; shift-key combinations lock/unlock the buttons..." means? How to check the keycodes for Pointer_Button1/2/3 (not in /etc/X11/kb/blah/*.xmodmap)?
ok, for this to work, you need these 3 things:
1) an x server with XKB support. xfree/x.org and commercial servers have this. check with
I haven't checked with the x servers on the z (xfbdev or something?) but I think I saw someone using the standard debian x.org server...
2) a key with a keysym called Pointer_Button[1-3]. e.g. use
xmodmap -e 'keysym F12 = Pointer_Button3'
see the xmodmap man page for more
3) MouseKeys turned on. this makes the keys with the Pointer_Button keysyms generate the click event. get Freeware AccessX from http://cita.disability.uiuc.edu/software/a...wareaccessx.php
and build, then run
to turn it on. there's a few other options at http://www.math.missouri.edu/%7Estephen/software/#accessx
if you have trouble building that one
this all works fine on a debian/i386 system, haven't tried it on the z yet