summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_driver.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-20 21:30:03 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-20 01:05:21 +0100
commit594b2ade6d8d829c65166aebe12f5eb3463a6fe9 (patch)
treed6d8013f6252cc9051429f39da255fe6937c8346 /src/input_common/helpers/joycon_driver.h
parentinput_common: Add joycon low level functions (diff)
downloadyuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.tar
yuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.tar.gz
yuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.tar.bz2
yuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.tar.lz
yuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.tar.xz
yuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.tar.zst
yuzu-594b2ade6d8d829c65166aebe12f5eb3463a6fe9.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/helpers/joycon_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/helpers/joycon_driver.h b/src/input_common/helpers/joycon_driver.h
index be3053a7b..deb50ec77 100644
--- a/src/input_common/helpers/joycon_driver.h
+++ b/src/input_common/helpers/joycon_driver.h
@@ -8,6 +8,7 @@
#include <span>
#include <thread>
+#include "input_common/helpers/joycon_protocol/generic_functions.h"
#include "input_common/helpers/joycon_protocol/joycon_types.h"
namespace InputCommon::Joycon {
@@ -94,6 +95,7 @@ private:
void ReadNfcIRMode(std::span<u8> buffer);
// Protocol Features
+ std::unique_ptr<GenericProtocol> generic_protocol = nullptr;
// Connection status
bool is_connected{};