lwjgl3ify

lwjgl3ify

1.6k Downloads

Weird numlock behavior

Terofale opened this issue · 1 comments

commented

Followed the GTNH wiki guide to use java 21, and updated lwjg3ify to the 2.0.0-alpha-6. I have controlling 2.0.1
I am on windows 11, using a french keyboard layout.

When trying to use the keypad to open journeymap (set on my keypad 7 key), it only works when numlock is off. When it is on, the mouse appears at the middle of the screen for an instant, but it doesn't open journeymap.

Here is the debug keyboard log with the actions I did :

pressing the keypad 7 key with numlock on (mouse appeared at the middle of the screen for an instant, but it didn't open journeymap)

[17:34:07] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:07] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:07] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2638875154832 codepoint:55 char:7
[17:34:07] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued char virtual keypress codepoint:55 char:7
[17:34:07] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:07] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G

pressing the numlock key to turn it off

[17:34:09] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:282 (GLFW_KEY_NUM_LOCK) scancode:325 action:PRESS mods:0 charname:Verrouillage du pavé numérique naive-char:?
[17:34:09] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:69 action:PRESS state:PRESS charname:E naive-char:E
[17:34:09] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:282 (GLFW_KEY_NUM_LOCK) scancode:325 action:RELEASE mods:0 charname:Verrouillage du pavé numérique naive-char:?
[17:34:09] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:69 action:RELEASE state:RELEASE charname:E naive-char:E

pressing the keypad 7 key twice with numlock off (once opening journeymap and then closing it)

[17:34:10] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:10] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:10] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:10] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G
[17:34:12] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:12] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:13] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:13] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G

pressing the numlock key to turn it on again

[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:282 (GLFW_KEY_NUM_LOCK) scancode:325 action:PRESS mods:0 charname:Verrouillage du pavé numérique naive-char:?
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:69 action:PRESS state:PRESS charname:E naive-char:E
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:282 (GLFW_KEY_NUM_LOCK) scancode:325 action:RELEASE mods:0 charname:Verrouillage du pavé numérique naive-char:?
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:69 action:RELEASE state:RELEASE charname:E naive-char:E

pressing 7 a few more times with numlock on

[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2638875154832 codepoint:55 char:7
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued char virtual keypress codepoint:55 char:7
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2638875154832 codepoint:55 char:7
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued char virtual keypress codepoint:55 char:7
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:14] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2638875154832 codepoint:55 char:7
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued char virtual keypress codepoint:55 char:7
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:PRESS mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:PRESS state:PRESS charname:G naive-char:G
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] char window:2638875154832 codepoint:55 char:7
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued char virtual keypress codepoint:55 char:7
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:327 (GLFW_KEY_KP_7) scancode:71 action:RELEASE mods:0 charname:Pavé numérique-7 naive-char:?
[17:34:15] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:71 action:RELEASE state:RELEASE charname:G naive-char:G
[17:34:16] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY] key window:2638875154832 key:256 (GLFW_KEY_ESCAPE) scancode:1 action:PRESS mods:0 charname:Echap naive-char:?
[17:34:16] [Client thread/INFO] [lwjgl3ify]: [DEBUG-KEY-QUEUE] queued key event key:1 action:PRESS state:PRESS charname:Inconnu keyCode: 0x0 naive-char:?

commented

Pressing the key with numlock on will not open the map but it still updates the gt ore veins on the minimap