|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Handle ISO_Level3_Shift keysym as AltGr in ioemu/vnc
Hello,
The modern (xkb) way of mapping the AltGr key (113) seems to be using the ISO_Level3_Shift keysym (0xFE03) instead of the obsolete Mode_switch keysym (0xFF7E).
This patch let the "keysym to scancode" translator handle the ISO_Level3_Shift correctly, enabling the use of characters like ~#{[|`\^@]} on a french keyboard.
Regards, Cédric
diff -ur source/tools/ioemu/keymaps/modifiers build-tools/tools/ioemu/keymaps/modifiers --- source/tools/ioemu/keymaps/modifiers 2007-04-28 11:28:59.000000000 +0200 +++ build-tools/tools/ioemu/keymaps/modifiers 2007-04-30 10:44:
50.380307142 +0200 @@ -3,6 +3,7 @@
Alt_R 0xb8 Mode_switch 0xb8 +ISO_Level3_Shift 0xb8 Alt_L 0x38
Control_R 0x9d diff -ur source/tools/ioemu/vnc_keysym.h build-tools/tools/ioemu/vnc_keysym.h
--- source/tools/ioemu/vnc_keysym.h 2007-04-28 11:28:59.000000000 +0200 +++ build-tools/tools/ioemu/vnc_keysym.h 2007-04-30 10:43:53.820772392 +0200 @@ -215,6 +215,7 @@ {"Shift_R", 0xffe2}, /* XK_Shift_R */
{"Super_L", 0xffeb}, /* XK_Super_L */ {"Super_R", 0xffec}, /* XK_Super_R */ +{"ISO_Level3_Shift", 0xfe03}, /* XK_ISO_Level3_Shift */
/* special keys */ {"BackSpace", 0xff08}, /* XK_BackSpace */
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb,
Cédric Schieli <=
|
|
|
|
|