input_common: Implement joycon ir camera

This commit is contained in:
Narr the Reg 2022-12-28 15:21:12 -06:00
parent 22eb8ce395
commit 91f98f57b3
15 changed files with 608 additions and 23 deletions

View file

@ -74,6 +74,13 @@ public:
*/
DriverResult SendSubCommand(SubCommand sc, std::span<const u8> buffer, std::vector<u8>& output);
/**
* Sends a mcu command to the device
* @param sc sub command to be send
* @param buffer data to be send
*/
DriverResult SendMcuCommand(SubCommand sc, std::span<const u8> buffer);
/**
* Sends vibration data to the joycon
* @param buffer data to be send