summaryrefslogtreecommitdiffstats
path: root/src/common/input.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-03 05:50:30 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:27 +0100
commit157e0b85fdd805e02d234dccf1ce578e3159adee (patch)
tree3916ae9628d53df0cfff3667ecbfb4dbd94f8e0b /src/common/input.h
parentcore/hid: Fully emulate motion from button (diff)
downloadyuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.tar
yuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.tar.gz
yuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.tar.bz2
yuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.tar.lz
yuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.tar.xz
yuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.tar.zst
yuzu-157e0b85fdd805e02d234dccf1ce578e3159adee.zip
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 @@
#include <utility>
#include "common/logging/log.h"
#include "common/param_package.h"
+#include "common/uuid.h"
namespace Common::Input {
@@ -81,6 +82,7 @@ struct AnalogStatus {
};
struct ButtonStatus {
+ Common::UUID uuid{};
bool value{};
bool inverted{};
bool toggle{};
@@ -90,6 +92,7 @@ struct ButtonStatus {
using BatteryStatus = BatteryLevel;
struct StickStatus {
+ Common::UUID uuid{};
AnalogStatus x{};
AnalogStatus y{};
bool left{};
@@ -99,6 +102,7 @@ struct StickStatus {
};
struct TriggerStatus {
+ Common::UUID uuid{};
AnalogStatus analog{};
ButtonStatus pressed{};
};