summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/input.h')
-rw-r--r--src/common/input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/input.h b/src/common/input.h
index 8f29026a1..f21872b0a 100644
--- a/src/common/input.h
+++ b/src/common/input.h
@@ -11,6 +11,7 @@
11#include <utility> 11#include <utility>
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "common/param_package.h" 13#include "common/param_package.h"
14#include "common/uuid.h"
14 15
15namespace Common::Input { 16namespace Common::Input {
16 17
@@ -81,6 +82,7 @@ struct AnalogStatus {
81}; 82};
82 83
83struct ButtonStatus { 84struct ButtonStatus {
85 Common::UUID uuid{};
84 bool value{}; 86 bool value{};
85 bool inverted{}; 87 bool inverted{};
86 bool toggle{}; 88 bool toggle{};
@@ -90,6 +92,7 @@ struct ButtonStatus {
90using BatteryStatus = BatteryLevel; 92using BatteryStatus = BatteryLevel;
91 93
92struct StickStatus { 94struct StickStatus {
95 Common::UUID uuid{};
93 AnalogStatus x{}; 96 AnalogStatus x{};
94 AnalogStatus y{}; 97 AnalogStatus y{};
95 bool left{}; 98 bool left{};
@@ -99,6 +102,7 @@ struct StickStatus {
99}; 102};
100 103
101struct TriggerStatus { 104struct TriggerStatus {
105 Common::UUID uuid{};
102 AnalogStatus analog{}; 106 AnalogStatus analog{};
103 ButtonStatus pressed{}; 107 ButtonStatus pressed{};
104}; 108};