summaryrefslogtreecommitdiff
path: root/src/input_common/helpers/joycon_driver.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-20 18:09:59 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-19 18:05:21 -0600
commit5676c2e17fe895e450e185029991fc20bdf56ec5 (patch)
tree2852ddbe053d4d20b86a955e2bccbe8f23852182 /src/input_common/helpers/joycon_driver.h
parent594b2ade6d8d829c65166aebe12f5eb3463a6fe9 (diff)
input_common: Use calibration from joycon
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