mirror of
https://github.com/godotengine/godot.git
synced 2026-02-24 12:50:12 +00:00
Input source types are not pure bit flags, they are combinations of
flags, so != 0 check was incorrect and resulted in crashes later, when
trying to obtain the device.
(cherry picked from commit 5dffa506dc)