Re: ALT+ IJKL for cursor movement

Alexander Gottwald <Alexander.Gottwald-hMeZAl7WFGgaBlGTGt4zH4SGEyLTKazZ@public.gmane.org>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Ahmad Baitalmal wrote:

> I'm sorry if this is not the right place to ask this question, please
> point me to where I should ask.

you could ask the people on the irc channel #freedesktop on irc.freenode.org
some of them are real X experts and may help you with this.

> 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 :(

If there is functionality for simulating mouse move events...

I know fvwm has such feature: (excerpt from ~.fvwm2rc)

 + "I" Key      Left    A       S       CursorMove -1 0
 + "I" Key      Left    A       SC      CursorMove -10 +0
 + "I" Key      Right   A       S       CursorMove +1 +0
 + "I" Key      Right   A       SC      CursorMove +10 +0

This means: Pressing Shift (S) and Left moves the cursor one unit to the left
Pressing Shift+Control (SC) and Left moves the cursor ten unists to the left.

Maybe this helps.

bye
    ago

NP: Absurd Minds - Herzlos
-- 
 Alexander.Gottwald-jNDFPZUTrfQ+B2oLq8eQJv4efur1V5z/[email protected]
 http://www.gotti.org           ICQ: 126018723
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.