-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numpad 3D shortcuts only work with numlock on #52546
Comments
If you create a script with an I wonder if Godot can even "see" the key presses here. |
Yes, the event gets printed out. |
I guess this can be fixed by assigning a second shortcut by default once #51273 is merged. |
I am quite confident this is 100% expected and correct. The shortcuts for the 3d editor are for Keypad numbers. The whole point of numlock is that is switches between two different functionalities of the numpad. See below from this site. |
Indeed, that's expected behavior. We could handle both events for the 3D shortcuts but I don't see much point doing so, as it may conflict with existing shortcuts, or prevent users from using those keys for their own shortcuts. |
If #51273 is merged, we can support this out of the box while allowing users to customize both shortcuts. |
For future reference, I can't reproduce this issue on If this is still needed on other platforms, feel free to use https://github.com/Calinou/godot/tree/editor-shortcut-add-non-numlock-variants as a base. I haven't added all 3D editor shortcuts, but it should be easy to do. |
Godot version
3.4.beta4
System information
Windows 10 Lenovo IdeaPad Flex, keyboard is logitech
Issue description
Keyboard shortcuts for 3D like numpad 5 to switch orthogonal do not work unless numlock is on.
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: