Godot Version
4.3
Question
Did I get this right about godot’s input event systems?:
_unhandled_input(event):
is actually more lightweight since I’m getting notified by events when each action occurs. Adding remapping features seems a bit more complicated but is likely doable since it’s all based on checking pressed
, keycodes
likely by using the same overriden _unhandled_input
method and storing what keycode was pressed as new mapping to an action.
_process(delta): if Input.is_action_pressed("ActionMapName"):
is slightly more heavy weight since if statements are continuously checking for input. However thanks to the use of InputMap, remapping is likely made less complicated.
Also the latter system seems based on the former.
My main concern is having to make the rebinding system myself, although not checking on every input every frame might be worth it idk.