-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Default input map #20784
Comments
If it is not populated at all, then it becomes impossible to navigate GUIs using the keyboard or a gamepad (which is bad for accessibility and gamepad support). So, no, you are not supposed to clear it either. Built-in input actions should probably be visually distinguished from custom input actions, but I believe they should still be visible and editable (perhaps after checking a checkbox, maybe). |
The input map is populated by default for ui_actions. As they are built-in ones, this totally makes sense having default bindings for them. You should not use them for gameplay. |
@groud Well, even the official tutorial suggest using them for gameplay, Also input map editor does not encourage adding mappings so I don't like empty input map for practical reason. Right now to add mapping, intuitive way is very inefficient and generally looks like this: first you enter "UP" as action name, press enter, move mouse across the whole screen down(as default ui actions take whole list), click plus, click Key, press arrow up, press enter to close dialog, swear, blame muscle memory(obviously pressing enter doesn't closes input key dialog), press up again, move mouse half way across the screen, click ok, move mouse other half way across the screen, type "DOWN", repeat. So this requires pixel hunting(buttons are plenty and are small), moving mouse all over the screen and clicking several times to assign single key. (Faster way requires resizing, repositioning window and adding all actions before adding keys to them) IMHO it's better to have opposite of what op wants: either populate map with common actions or (even better) have the ability to load some presets(e.g. "arrows", "arrows+wasd" for left/up/down/right) |
Yeah, it helps going faster in the tutorial, but that's not how you should do it in a real game. |
Closing in favor of godotengine/godot-proposals#303, as feature proposals are now tracked in the Godot proposals repository. |
I don't think the input map should be populated by default. The user should be able to specify what they want without having to clear everything first.
The text was updated successfully, but these errors were encountered: