mirror of
https://github.com/SourMesen/Mesen-S.git
synced 2024-06-23 06:41:55 -04:00
20 lines
369 B
C
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;
|
|
}; |