Hi all,
I am trying to modify some key binding files to get the following:

if I press regular "1"     insert "x" (for example)
if I press numeric "1"     insert "1" 

I am struggling with the following:
If I use \kmap:
it does not distinguish regular and numeric "1".

If I use:
\bind "1"   "self-insert x"
\bind "KP_1"   "self-insert 1"
I am getting always 1,

If I use:
\bind "KP_1"   "self-insert 1"
\bind "1"   "self-insert x"
I am getting always x.

Any thoughts, workarounds?

Thanks,

Vasek



-- 
-----------------------------------------------------------------------------
Ing. Vaclav Smidl, Ph.D.                tel: +420 26605 2420
AS department,  Institute               web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic

Reply via email to