shithub: cstory

ref: e7ad5271a4d5d0862dce9ca529b012fcef18a1e9
dir: /src/Input.h/

View raw version
#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();