shithub: cstory

ref: 0582fa93d142a8929030c61c6f52c8837a6ca8a6
dir: /src/Input.cpp/

View raw version
#include "Input.h"

#include "Backends/Controller.h"

#include "WindowsWrapper.h"

void ReleaseDirectInput(void)
{
	ControllerBackend_Deinit();
}

BOOL InitDirectInput(void)
{
	return ControllerBackend_Init();
}

BOOL GetJoystickStatus(JOYSTICK_STATUS *status)
{
	return ControllerBackend_GetJoystickStatus(status);
}

BOOL ResetJoystickStatus(void)
{
	return ControllerBackend_ResetJoystickStatus();
}