mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
21 lines
No EOL
388 B
C
21 lines
No EOL
388 B
C
#pragma once
|
|
#include "pch.h"
|
|
#include <cstring>
|
|
#include "Shared/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;
|
|
uint8_t Port;
|
|
}; |