Stupid Controller Fix :p
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
|
||||
|
||||
struct GamePad{
|
||||
std::array<bool, SDL_CONTROLLER_AXIS_MAX> buttons{};
|
||||
std::array<float, SDL_CONTROLLER_AXIS_MAX> axis{};
|
||||
std::array<bool, SDL_CONTROLLER_BUTTON_MAX> buttons{false};
|
||||
std::array<float, SDL_CONTROLLER_AXIS_MAX> axis{0.0f};
|
||||
|
||||
std::array<bool, SDL_CONTROLLER_BUTTON_MAX> prevButtons{ false };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user