Godot Version
v4.3.stable.official [77dcf97d8]
Question
I am trying to create a player controller and have managed to get most of it working as expected. However sometimes when releasing a movement key the movement persists for some frames, while other times it seems to work as expected. I think it is a problem with the input, because when I log the input values it seems that it registers the key press and release, but some of the time more values are printed:
I have tried registering the input in _input, _process, _physics_process, but all yield similar behavior. I am at a loss of what to try next. Anyone have any suggestions or solutions?