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
Reproducible in v4.4.dev.custom_build [76fa7b2]
Not reproducible in Reproducible in v4.4.dev.custom_build [0a4aedb]
System information
Windows 10 - Vulkan
Issue description
Found this bug after updating my godot fork, I didn't investigate what change caused this.
Previously set input events had a "-1" device value in my project. I don't know if it was previously an expected behaviour or not. But the new behaviour expects the device value to be >= 0.
For example, an input event define in my project settings as:
Catch the action in your code using Input.is_action_pressed("skip")
Attempt to trigger the action by pressing 'T'.
Notice is_action_pressed never returns true.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Sorry I don't have more concrete info to add here, but I did want to mention that I think this bug (or a very similar one) caught me when I tried running a 4.4-dev3 project on 4.4-dev4. I think I remember in my case it set the device ID for my input map to -3? Luckily, I was able to revert the changes using Git, but it definitely still got me off guard.
Edit: Just moved my project forward to use the master branch instead of 4.4-dev3, and caught this again:
Tested versions
Reproducible in v4.4.dev.custom_build [76fa7b2]
Not reproducible in Reproducible in v4.4.dev.custom_build [0a4aedb]
System information
Windows 10 - Vulkan
Issue description
Found this bug after updating my godot fork, I didn't investigate what change caused this.
Previously set input events had a "-1" device value in my project. I don't know if it was previously an expected behaviour or not. But the new behaviour expects the device value to be >= 0.
For example, an input event define in my project settings as:
Existing values should be converted to the new expected value if possible. Otherwise users must be warned to make the manual change.
Steps to reproduce
Add the following
skip
action into your project:Catch the action in your code using
Input.is_action_pressed("skip")
Attempt to trigger the action by pressing 'T'.
Notice is_action_pressed never returns true.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: