input_common: Add support for joycon generic functions

This commit is contained in:
Narr the Reg 2022-12-20 14:30:03 -06:00
parent 6aa6301acd
commit 594b2ade6d
5 changed files with 310 additions and 3 deletions

View file

@ -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{};