ALT+ IJKL for cursor movement

Peter "Firefly" Lund firefly@diku.dk
Sun, 22 Feb 2004 00:04:24 +0100 (MET)


On Sun, 15 Feb 2004, Ahmad Baitalmal wrote:

> I'm trying to make X11 fire the Left,Down,Right,Up keyboard arrow event
> when pressing the Left ALT key and JKLI keys.
>
> I'm guessing XKB could do this, it certainly looks complicated enough.
> I've been racking my head on it's manual for 3 days and I'm still lost :(

1) you know that ctrl-alt-numlock enables a "keyboard mouse" on the
numeric keypad?  (at least on XF86)

2) have you considered a slight twist to make it easier to hit interesting
places on the screen?  Use the X server's knowledge of which rectangles
have special pointer icons to autodetect those interesting places, so a
press on the "move left" key will make the pointer zip to the next place
to the left which has set a different icon from the normal (perhaps all
windows should be considered, not just those that have requested a specail
pointer icon?).

3) XWarpPointer might work for you, if you implement it somewhat outside
of the X server.

-Peter