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