metaforce/Runtime/Input/IController.hpp

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__