input/hid: Migrate to the new UUID implementation

This commit is contained in:
Morph 2022-02-05 00:40:28 -05:00
parent 3271099fea
commit cb30fe50cd
16 changed files with 57 additions and 56 deletions

View file

@ -10,8 +10,8 @@
#include <unordered_map>
#include <utility>
#include "common/logging/log.h"
#include "common/new_uuid.h"
#include "common/param_package.h"
#include "common/uuid.h"
namespace Common::Input {
@ -97,7 +97,7 @@ struct AnalogStatus {
// Button data
struct ButtonStatus {
Common::UUID uuid{};
Common::NewUUID uuid{};
bool value{};
bool inverted{};
bool toggle{};
@ -109,7 +109,7 @@ using BatteryStatus = BatteryLevel;
// Analog and digital joystick data
struct StickStatus {
Common::UUID uuid{};
Common::NewUUID uuid{};
AnalogStatus x{};
AnalogStatus y{};
bool left{};
@ -120,7 +120,7 @@ struct StickStatus {
// Analog and digital trigger data
struct TriggerStatus {
Common::UUID uuid{};
Common::NewUUID uuid{};
AnalogStatus analog{};
ButtonStatus pressed{};
};