metaforce/Runtime/Input/IController.hpp

13 lines
239 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2015-08-28 00:11:31 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2015-08-28 00:11:31 +00:00
2018-12-08 05:30:43 +00:00
class IController {
2015-08-28 00:11:31 +00:00
public:
2018-12-08 05:30:43 +00:00
enum class EMotorState { Stop = 0, Rumble = 1, StopHard = 2 };
virtual void Poll() = 0;
virtual void SetMotorState(EMotorState state) = 0;
2015-08-28 00:11:31 +00:00
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce