Linux: Map alt-gr to RMENU
This commit is contained in:
parent
08e94f8a7b
commit
03c801b081
|
@ -431,6 +431,8 @@ final class LinuxKeycodes {
|
||||||
public final static int XK_thorn = 0x00fe;
|
public final static int XK_thorn = 0x00fe;
|
||||||
public final static int XK_ydiaeresis = 0x00ff;
|
public final static int XK_ydiaeresis = 0x00ff;
|
||||||
|
|
||||||
|
public final static int XK_ISO_Level3_Shift = 0xfe03;
|
||||||
|
|
||||||
public static int mapKeySymToLWJGLKeyCode(long keysym) {
|
public static int mapKeySymToLWJGLKeyCode(long keysym) {
|
||||||
switch ((int)keysym) {
|
switch ((int)keysym) {
|
||||||
case XK_BackSpace:
|
case XK_BackSpace:
|
||||||
|
@ -608,6 +610,7 @@ final class LinuxKeycodes {
|
||||||
|
|
||||||
case XK_Meta_L:
|
case XK_Meta_L:
|
||||||
return Keyboard.KEY_LMENU;
|
return Keyboard.KEY_LMENU;
|
||||||
|
case XK_ISO_Level3_Shift:
|
||||||
case XK_Meta_R:
|
case XK_Meta_R:
|
||||||
return Keyboard.KEY_RMENU;
|
return Keyboard.KEY_RMENU;
|
||||||
case XK_Alt_L:
|
case XK_Alt_L:
|
||||||
|
|
Loading…
Reference in New Issue