diff options
| author | bunnei <bunneidev@gmail.com> | 2023-01-26 10:56:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 10:56:31 -0800 |
| commit | 7d0a77a825ff16fc3449cd32d436107507e19ae8 (patch) | |
| tree | 96c6269e01338fe630d03af62ccbd983632bce0c /src/input_common/helpers/joycon_protocol/generic_functions.h | |
| parent | 5669692b4ec6182f54294f8609766b1ea33e145c (diff) | |
| parent | 49707916db500e8225676a4caa4109f69d25faf3 (diff) | |
Merge pull request #9683 from german77/high_power_joycon
input_common: Implement SetLowPowerMode and TriggersElapsed
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/generic_functions.h')
| -rw-r--r-- | src/input_common/helpers/joycon_protocol/generic_functions.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
