mirror of https://github.com/AxioDL/metaforce.git
25 lines
364 B
C++
25 lines
364 B
C++
#ifndef __URDE_ICONTROLLER_HPP__
|
|
#define __URDE_ICONTROLLER_HPP__
|
|
|
|
#include "../RetroTypes.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
|
|
class IController
|
|
{
|
|
public:
|
|
enum class EMotorState
|
|
{
|
|
Stop = 0,
|
|
Rumble = 1,
|
|
StopHard = 2
|
|
};
|
|
virtual void Poll()=0;
|
|
virtual void SetMotorState(EMotorState state)=0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_ICONTROLLER_HPP__
|