- Subject: Re: gold key for edt mode
- From: Marko Mahnic <marko.mahnic@xxxxxxxx>
- Date: Sun, 29 Jan 2006 12:38:13 +0100
Thei Wijnen wrote:
Concerning xkeys for / * - : In xjed they appear always as
/ * - and are inserted as text in your file. The reason is simple:
in xkeys.c one can see that these keys do not generate en escape
sequence, but the simply send their single character / * or -.
These can not be distincted from the normal / * and - keys.
and thus I expect that x_set_keysym will not work because there
is no escape sequence to associate with something. That is why
I made changes to xkeys.c to make it work.
If you write
x_set_keysym(0xFFAA, 0, "\eOR");
it has the same effect as if you change xkeys.c
from
"\001*", /* 0xFFAA XK_KP_Multiply */
to
"\003\033OR", /* 0xFFAA XK_KP_Multiply */
Try
require("x-keydefs");
x_set_keysym(0xFFAA, 0, Key_KP_Multiply);
x_set_keysym(0xFFAB, 0, Key_KP_Add);
x_set_keysym(0xFFAD, 0, Key_KP_Subtract);
x_set_keysym(0xFFAF, 0, Key_KP_Divide);
Marko
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]