ref: dec481a8e0d6bf88e18bcca20c70c2b59e24a113
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);