diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-28 22:21:12 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-20 01:05:22 +0100 |
commit | 459fb2b21337bae60194a2a99ce68c87aaed522d (patch) | |
tree | a7522832fa60f283e076df34c85380c5d4bc49d3 /src/input_common/helpers/joycon_protocol/common_protocol.h | |
parent | yuzu: Add ring controller test button (diff) | |
download | yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.tar yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.tar.gz yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.tar.bz2 yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.tar.lz yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.tar.xz yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.tar.zst yuzu-459fb2b21337bae60194a2a99ce68c87aaed522d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/helpers/joycon_protocol/common_protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/helpers/joycon_protocol/common_protocol.h b/src/input_common/helpers/joycon_protocol/common_protocol.h index a65e4aa76..2a3feaf59 100644 --- a/src/input_common/helpers/joycon_protocol/common_protocol.h +++ b/src/input_common/helpers/joycon_protocol/common_protocol.h @@ -75,6 +75,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 */ |