#pragma once #include "stdafx.h" #include class XInputManager { private: vector> _gamePadStates; public: XInputManager(); bool NeedToUpdate(); void UpdateDeviceList(); void RefreshState(); bool IsPressed(uint8_t gamepadPort, uint8_t button); };