ref: b1bb48148bac5d0da24aa239e6588f5eac2f58d2
dir: /src/Input.h/
#pragma once
extern bool gbUseJoystick;
extern int gJoystickButtonTable[8];
struct JOYSTICK_STATUS
{
bool bLeft;
bool bRight;
bool bUp;
bool bDown;
bool bButton[32];
};
void ReleaseDirectInput();
bool InitDirectInput();
bool GetJoystickStatus(JOYSTICK_STATUS *pStatus);
bool ResetJoystickStatus();