Fix Input.is_joy_known response for SDL joypads

This commit is contained in:
JestemStefan
2025-10-11 17:50:39 +02:00
parent 9a5d6d1049
commit 3f98a5472d
3 changed files with 11 additions and 9 deletions

View File

@ -168,6 +168,7 @@ private:
StringName name;
StringName uid;
bool connected = false;
bool is_known = false;
bool last_buttons[(size_t)JoyButton::MAX] = { false };
float last_axis[(size_t)JoyAxis::MAX] = { 0.0f };
HatMask last_hat = HatMask::CENTER;