input_common: Use calibration from joycon

This commit is contained in:
Narr the Reg 2022-12-20 18:09:59 -06:00
parent d2f5eae036
commit f7164f77d6
5 changed files with 231 additions and 0 deletions

View file

@ -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