ref: 02f570cec77ed77d5623c005640a2ca97c0dea3a
dir: /src/Input.h/
#pragma once
#include "WindowsWrapper.h"
struct JOYSTICK_STATUS
{
BOOL bLeft;
BOOL bRight;
BOOL bUp;
BOOL bDown;
BOOL bButton[32]; // The original `Input.cpp` assumed there were 32 buttons (because of DirectInput's `DIJOYSTATE` struct)
};
void ReleaseDirectInput(void);
BOOL InitDirectInput(void);
BOOL GetJoystickStatus(JOYSTICK_STATUS *status);
BOOL ResetJoystickStatus(void);