summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_driver.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-21 01:09:59 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-20 01:05:21 +0100
commit5676c2e17fe895e450e185029991fc20bdf56ec5 (patch)
tree2852ddbe053d4d20b86a955e2bccbe8f23852182 /src/input_common/helpers/joycon_driver.h
parentinput_common: Add support for joycon generic functions (diff)
downloadyuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar
yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.gz
yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.bz2
yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.lz
yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.xz
yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.zst
yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.zip
Diffstat (limited to 'src/input_common/helpers/joycon_driver.h')
-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 deb50ec77..275c97b91 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/calibration.h"
#include "input_common/helpers/joycon_protocol/generic_functions.h"
#include "input_common/helpers/joycon_protocol/joycon_types.h"
@@ -95,6 +96,7 @@ private:
void ReadNfcIRMode(std::span<u8> buffer);
// Protocol Features
+ std::unique_ptr<CalibrationProtocol> calibration_protocol = nullptr;
std::unique_ptr<GenericProtocol> generic_protocol = nullptr;
// Connection status