mirror of https://github.com/AxioDL/metaforce.git
25 lines
377 B
C++
25 lines
377 B
C++
#ifndef __RETRO_ICONTROLLER_HPP__
|
|
#define __RETRO_ICONTROLLER_HPP__
|
|
|
|
#include "../RetroTypes.hpp"
|
|
|
|
namespace Retro
|
|
{
|
|
|
|
class IController
|
|
{
|
|
public:
|
|
enum EMotorState
|
|
{
|
|
MotorStop = 0,
|
|
MotorRumble = 1,
|
|
MotorStopHard = 2
|
|
};
|
|
virtual void Poll()=0;
|
|
virtual void SetMotorState(EMotorState state)=0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __RETRO_ICONTROLLER_HPP__
|