`CTRL` + `ALT` + X / `ALT-GR` + X don't work
glowredman opened this issue ยท 2 comments
lwjgl3ify version: 1.5.2
keyboard layout: QWERTZ (T1 variant according to German standard DIN 2137)
Pressing Ctrl + Alt + certain other keys prints a level 3 character. Instead of Ctrl + Alt, AltGr can be pressed. This is needed to print characters like {
(AltGr + 7) or @
(AltGr + Q). This works in vanilla MC 1.7.10 but not with lwjgl3ify.
Indeed, 1.7.10 without lwjgl3ify, these key combinations work.
With lwjgl3ify, they seem to be identified correctly as #, &, @, etc. characters in the logs, but don't show up in game (eg. in chat and in NEI search box).
OS: Windows 11 (Build 22621.2861)
Keyboard: QWERTZ (hu_HU layout, see Wikipedia entry)
lwjgl3ify version: 1.5.7
Relevant logs to the keypresses:
### Just the Alt Gr key
[20:15:48] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:1 mods:6 charname:Unknown keyCode: 0x0 naive-char:?
[20:15:48] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:PRESS state:PRESS charname:Unknown keyCode: 0x0 naive-char:?
[20:15:48] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:0 mods:0 charname:Unknown keyCode: 0x0 naive-char:?
[20:15:48] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:RELEASE state:RELEASE charname:Unknown keyCode: 0x0 naive-char:?
### Alt Gr + X
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:1 mods:6 charname:Unknown keyCode: 0x0 naive-char:?
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:PRESS state:PRESS charname:Unknown keyCode: 0x0 naive-char:?
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:88 scancode:45 action:1 mods:6 charname:X naive-char:X
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:45 action:PRESS state:PRESS charname:Minus naive-char:-
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2972126869648 codepoint:35 char:#
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:88 scancode:45 action:0 mods:6 charname:X naive-char:X
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:45 action:RELEASE state:RELEASE charname:Minus naive-char:-
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:0 mods:0 charname:Unknown keyCode: 0x0 naive-char:?
[20:13:42] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:RELEASE state:RELEASE charname:Unknown keyCode: 0x0 naive-char:?
### Alt Gr + C
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:1 mods:6 charname:Unknown keyCode: 0x0 naive-char:?
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:PRESS state:PRESS charname:Unknown keyCode: 0x0 naive-char:?
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:67 scancode:46 action:1 mods:6 charname:C naive-char:C
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:46 action:PRESS state:PRESS charname:Period naive-char:.
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2972126869648 codepoint:38 char:&
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:67 scancode:46 action:0 mods:6 charname:C naive-char:C
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:46 action:RELEASE state:RELEASE charname:Period naive-char:.
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:0 mods:0 charname:Unknown keyCode: 0x0 naive-char:?
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:RELEASE state:RELEASE charname:Unknown keyCode: 0x0 naive-char:?
### Alt Gr + V
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:1 mods:6 charname:Unknown keyCode: 0x0 naive-char:?
[20:13:43] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:PRESS state:PRESS charname:Unknown keyCode: 0x0 naive-char:?
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:86 scancode:47 action:1 mods:6 charname:V naive-char:V
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:47 action:PRESS state:PRESS charname:Slash naive-char:/
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2972126869648 codepoint:64 char:@
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:86 scancode:47 action:0 mods:6 charname:V naive-char:V
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:47 action:RELEASE state:RELEASE charname:Slash naive-char:/
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2972126869648 key:346 scancode:312 action:0 mods:0 charname:Unknown keyCode: 0x0 naive-char:?
[20:13:44] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:184 action:RELEASE state:RELEASE charname:Unknown keyCode: 0x0 naive-char:?
Not working for me either on Windows 10 but does work on Linux on the same machine
Pack Version: 2.5.1
lwjgl3ify: 1.5.7
OS: Windows 10 build 19045.3803
Linux Kernel: 6.1.69-1-MANJARO (64-bit)
Keyboard Layout: Swedish (Sweden)