cave-story-solaris/src/Input.h
2020-01-04 01:09:49 +00:00

17 lines
282 B
C

#pragma once
#include "WindowsWrapper.h"
struct JOYSTICK_STATUS
{
BOOL bLeft;
BOOL bRight;
BOOL bUp;
BOOL bDown;
BOOL bButton[32];
};
void ReleaseDirectInput(void);
BOOL InitDirectInput(void);
BOOL GetJoystickStatus(JOYSTICK_STATUS *status);
BOOL ResetJoystickStatus(void);