diff --git a/project/src/GamePadController.h b/project/src/GamePadController.h index 62a30e8..fd53771 100644 --- a/project/src/GamePadController.h +++ b/project/src/GamePadController.h @@ -9,8 +9,8 @@ struct GamePad{ - std::array buttons{}; - std::array axis{}; + std::array buttons{false}; + std::array axis{0.0f}; std::array prevButtons{ false }; };