Alt + CHTN for arrow key movement, XKB?

Ahmad Baitalmal <[email protected]>
Newsgroups gmane.comp.xfree86.internationalization
Organization http://ahmad.baitalmal.com
Message-ID <[email protected]>
Hi,
I'm really frustrated about this, Pascal Ivan's XKB documentation is 
good but way over my head.

I'm on standard dvorak. I want to be able to press Alt_L + C and fire an 
Up arrow key event.  The same for Alt_L + H, T, and N for Left, Down, 
and Right respectively.

I tried xbindkeys + xmacroplay, too slow and it broke. I tried xmodmap 
which worked but I had to disable the Alt_L key for the rest of the keys.

It appears all roads lead to XKB, it seems like it could do the job. It 
looks complicated enough, after three days of reading and testing I'm 
still lost, please help.

My latest attempt was to modify the compat/misc file (it is included by 
compat/complete). I added this:

interpret Alt_L+H {
	action = Redirect( keycode=<LEFT> );
};

And many variations of that, all failed when running the file by xkbcomp.

The error was that there is no key named LEFT. I'm guessing it hasn't 
been defined yet? How do I define it? where? Is XKB even capable of 
doing this?

Would really appreciate any input please...

-- 
Ahmad Baitalmal
http://ahmad.baitalmal.com
--------------------- ---  --   -
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.