2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 08:27:42 +00:00

more input implementation

This commit is contained in:
Jack Andersen
2015-08-28 15:30:47 -10:00
parent ce42cdd3be
commit 7223a9dce5
22 changed files with 526 additions and 136 deletions

View File

@@ -1,25 +1,22 @@
#ifndef __RETRO_ICONTROLLER_HPP__
#define __RETRO_ICONTROLLER_HPP__
#include "../RetroTypes.hpp"
namespace Retro
{
class IController
{
public:
class CControllerAxis
enum EMotorState
{
MotorStop = 0,
MotorRumble = 1,
MotorStopHard = 2
};
class CControllerButton
{
};
class IControllerGamepadData
{
};
void Poll();
u32 GetDeviceCount();
virtual void Poll()=0;
virtual void SetMotorState(EMotorState state)=0;
};
}