Linux: Map alt-gr to RMENU

This commit is contained in:
Elias Naur 2006-09-18 15:03:44 +00:00
parent 08e94f8a7b
commit 03c801b081
1 changed files with 3 additions and 0 deletions

View File

@ -431,6 +431,8 @@ final class LinuxKeycodes {
public final static int XK_thorn = 0x00fe;
public final static int XK_ydiaeresis = 0x00ff;
public final static int XK_ISO_Level3_Shift = 0xfe03;
public static int mapKeySymToLWJGLKeyCode(long keysym) {
switch ((int)keysym) {
case XK_BackSpace:
@ -608,6 +610,7 @@ final class LinuxKeycodes {
case XK_Meta_L:
return Keyboard.KEY_LMENU;
case XK_ISO_Level3_Shift:
case XK_Meta_R:
return Keyboard.KEY_RMENU;
case XK_Alt_L: