From 49707916db500e8225676a4caa4109f69d25faf3 Mon Sep 17 00:00:00 2001 From: Narr the Reg Date: Thu, 26 Jan 2023 11:21:04 -0600 Subject: input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driver --- src/input_common/helpers/joycon_protocol/generic_functions.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input_common/helpers/joycon_protocol/generic_functions.h') diff --git a/src/input_common/helpers/joycon_protocol/generic_functions.h b/src/input_common/helpers/joycon_protocol/generic_functions.h index 239bb7dbf..424831e81 100644 --- a/src/input_common/helpers/joycon_protocol/generic_functions.h +++ b/src/input_common/helpers/joycon_protocol/generic_functions.h @@ -25,6 +25,12 @@ public: /// Enables active mode. This mode will return the current status every 5-15ms DriverResult EnableActiveMode(); + /// Enables or disables the low power mode + DriverResult SetLowPowerMode(bool enable); + + /// Unknown function used by the switch + DriverResult TriggersElapsed(); + /** * Sends a request to obtain the joycon firmware and mac from handle * @returns controller device info -- cgit v1.2.3