diff options
| author | 2022-12-20 18:09:59 -0600 | |
|---|---|---|
| committer | 2023-01-19 18:05:21 -0600 | |
| commit | 5676c2e17fe895e450e185029991fc20bdf56ec5 (patch) | |
| tree | 2852ddbe053d4d20b86a955e2bccbe8f23852182 /src/input_common/helpers/joycon_driver.h | |
| parent | input_common: Add support for joycon generic functions (diff) | |
| download | yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.gz yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.tar.xz yuzu-5676c2e17fe895e450e185029991fc20bdf56ec5.zip | |
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.h | 2 |
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 @@ | |||
| 8 | #include <span> | 8 | #include <span> |
| 9 | #include <thread> | 9 | #include <thread> |
| 10 | 10 | ||
| 11 | #include "input_common/helpers/joycon_protocol/calibration.h" | ||
| 11 | #include "input_common/helpers/joycon_protocol/generic_functions.h" | 12 | #include "input_common/helpers/joycon_protocol/generic_functions.h" |
| 12 | #include "input_common/helpers/joycon_protocol/joycon_types.h" | 13 | #include "input_common/helpers/joycon_protocol/joycon_types.h" |
| 13 | 14 | ||
| @@ -95,6 +96,7 @@ private: | |||
| 95 | void ReadNfcIRMode(std::span<u8> buffer); | 96 | void ReadNfcIRMode(std::span<u8> buffer); |
| 96 | 97 | ||
| 97 | // Protocol Features | 98 | // Protocol Features |
| 99 | std::unique_ptr<CalibrationProtocol> calibration_protocol = nullptr; | ||
| 98 | std::unique_ptr<GenericProtocol> generic_protocol = nullptr; | 100 | std::unique_ptr<GenericProtocol> generic_protocol = nullptr; |
| 99 | 101 | ||
| 100 | // Connection status | 102 | // Connection status |