cave-story-solaris/src/Input.h
Clownacy d2b5872c95 Weeded out some bool usage
Cave Story was written in C89. No bools. I've left in Sound.cpp's
though, since that's written in C++98 currently.
2019-05-24 10:07:30 +01:00

20 lines
335 B
C

#pragma once
#include "WindowsWrapper.h"
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();