You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unilock opened this issue
Nov 11, 2024
· 2 comments
Labels
1.20.1Targeted at Minecraft 1.20.11.20.4Targeted at Minecraft 1.20.41.21.1Targeted at Minecraft 1.21.1bugA bug or errortriageNeeds triaging and confirmation
Attempt to bind a key to a function key (F1, F2, F3, ...)
The key is bound as "Not Bound" instead
Description of issue:
The function keys (F1 thru F12) can't be used with keybinds (they always end up as "Not Bound"), and the debug keybinds (F3+x) just bring up the debug overlay instead of... debugging.
I assume this is because "F3" on macOS is technically "fn+F3" ("fn" being a separate key). I guess NeoForge detects the "fn" instead of (or before) the "F3", and treats it as an unknown key - thus "Not Bound".
Interestingly, editing options.txt to bind a function key results in that keybind working fine in-game.
All of this works without issue on both vanilla and Fabric.
The text was updated successfully, but these errors were encountered:
I tested with and without the macOS Use F keys as standard function keys setting, Settings -> Search (Function Keys) -> Use F keys as standard funtion keys.
On Vanilla, I am able to bind and use F key bindings as expected. Except for F3 + H in macOS function key mode, this always does a special action.
On Neo, I am able to use F key bindings as expected with the same semantics as Vanilla. Binding I am unable to set F keys only if I have FN held down prior to clicking on the key to rebind. Otherwise, it works as expected.
I have the "Use F1, F2, etc. keys as standard function keys" setting turned off, for what it's worth. Turning it on allows everything to work properly - but that's not an ideal solution for me...
Even in vanilla, F3+H doesn't work properly with the aforementioned setting disabled, so I guess that's not NeoForge's concern...
1.20.1Targeted at Minecraft 1.20.11.20.4Targeted at Minecraft 1.20.41.21.1Targeted at Minecraft 1.21.1bugA bug or errortriageNeeds triaging and confirmation
Minecraft Version: 1.20.1, 1.20.4, 1.21.1
NeoForge Version: 47.1.106, 20.4.237, 21.1.77
Logs: 1.21.1: https://gist.github.com/unilock/a699a9ebba05e3da37dbb5759e381f16
Steps to Reproduce:
Description of issue:
The function keys (F1 thru F12) can't be used with keybinds (they always end up as "Not Bound"), and the debug keybinds (F3+x) just bring up the debug overlay instead of... debugging.
I assume this is because "F3" on macOS is technically "fn+F3" ("fn" being a separate key). I guess NeoForge detects the "fn" instead of (or before) the "F3", and treats it as an unknown key - thus "Not Bound".
Interestingly, editing
options.txt
to bind a function key results in that keybind working fine in-game.All of this works without issue on both vanilla and Fabric.
The text was updated successfully, but these errors were encountered: