Mesen/Core/IControlDevice.h

23 lines
296 B
C
Raw Normal View History

2014-06-21 15:43:41 -04:00
#pragma once
#include "stdafx.h"
struct ButtonState
{
2014-07-03 18:14:22 -04:00
bool Up = false;
bool Down = false;
bool Left = false;
bool Right = false;
2014-06-21 15:43:41 -04:00
2014-07-03 18:14:22 -04:00
bool A = false;
bool B = false;
2014-06-21 15:43:41 -04:00
2014-07-03 18:14:22 -04:00
bool Select = false;
bool Start = false;
2014-06-21 15:43:41 -04:00
};
class IControlDevice
{
public:
virtual ButtonState GetButtonState() = 0;
};