diff options
Diffstat (limited to 'src/common/input.h')
| -rw-r--r-- | src/common/input.h | 4 |
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 | ||
| 15 | namespace Common::Input { | 16 | namespace Common::Input { |
| 16 | 17 | ||
| @@ -81,6 +82,7 @@ struct AnalogStatus { | |||
| 81 | }; | 82 | }; |
| 82 | 83 | ||
| 83 | struct ButtonStatus { | 84 | struct 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 { | |||
| 90 | using BatteryStatus = BatteryLevel; | 92 | using BatteryStatus = BatteryLevel; |
| 91 | 93 | ||
| 92 | struct StickStatus { | 94 | struct 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 | ||
| 101 | struct TriggerStatus { | 104 | struct TriggerStatus { |
| 105 | Common::UUID uuid{}; | ||
| 102 | AnalogStatus analog{}; | 106 | AnalogStatus analog{}; |
| 103 | ButtonStatus pressed{}; | 107 | ButtonStatus pressed{}; |
| 104 | }; | 108 | }; |