ref: 44544a65d23de1c3d618c65198a22fc3b51ea107
dir: /src/Input.h/
#pragma once
#include "WindowsWrapper.h"
struct DIRECTINPUTSTATUS
{
BOOL bLeft;
BOOL bRight;
BOOL bUp;
BOOL bDown;
BOOL bButton[32]; // 32 is the number of buttons in DirectInput's `DIJOYSTATE` struct
};
void ReleaseDirectInput(void);
BOOL InitDirectInput(void);
BOOL GetJoystickStatus(DIRECTINPUTSTATUS *status);
BOOL ResetJoystickStatus(void);