6 #include <ThirdParty/GainInput/lib/include/gainput/gainput.h> 7 #include <ThirdParty/EASTL-master/include/EASTL/vector.h> 26 gainput::InputManager& GetInputManager();
34 eastl::vector<gainput::DeviceButtonId> GetAllKeysDown(gainput::DeviceId deviceId);
40 const gainput::DeviceId& GetMouseId()
const;
46 const gainput::DeviceId& GetKeyboardId()
const;
52 const gainput::DeviceId& GetGamepadId()
const;
60 gainput::InputManager inputManager;
61 gainput::DeviceId mouseId;
62 gainput::DeviceId keyboardId;
63 gainput::DeviceId gamepadId;
69 friend
void Window::OnWindowResized(GLFWwindow* window,
int width,
int height);
This object stores any information regarding the created GLFW window.
void Update() noexcept
The general update method of the entire engine system. Call this from your main loop.