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:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user