Mesen-S/Core/ControlDeviceState.h

20 lines
369 B
C

#pragma once
#include "stdafx.h"
#include <cstring>
#include "SettingTypes.h"
struct ControlDeviceState
{
vector<uint8_t> State;
bool operator!=(ControlDeviceState &other)
{
return State.size() != other.State.size() || memcmp(State.data(), other.State.data(), State.size()) != 0;
}
};
struct ControllerData
{
ControllerType Type;
ControlDeviceState State;
};