ref: 140c67a5cb2632cff3db59e7a217323cb10b5ff6
dir: /src/Input.h/
#pragma once #include "WindowsWrapper.h" struct JOYSTICK_STATUS { BOOL bLeft; BOOL bRight; BOOL bUp; BOOL bDown; BOOL bButton[32]; }; void ReleaseDirectInput(void); BOOL InitDirectInput(HINSTANCE hinst, HWND hWnd); BOOL GetJoystickStatus(JOYSTICK_STATUS *status); BOOL ResetJoystickStatus(void);