shithub: cstory

ref: 5ed34e73d4ddf92d109f761d73b14ca2494fdf95
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();
}