diff options
| author | 2023-01-26 10:56:31 -0800 | |
|---|---|---|
| committer | 2023-01-26 10:56:31 -0800 | |
| commit | 7d0a77a825ff16fc3449cd32d436107507e19ae8 (patch) | |
| tree | 96c6269e01338fe630d03af62ccbd983632bce0c /src/input_common/helpers/joycon_protocol/generic_functions.h | |
| parent | Merge pull request #9670 from merryhime/revert-af5ecb0b15d4449f58434e70eed835... (diff) | |
| parent | input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon dr... (diff) | |
| download | yuzu-7d0a77a825ff16fc3449cd32d436107507e19ae8.tar.gz yuzu-7d0a77a825ff16fc3449cd32d436107507e19ae8.tar.xz yuzu-7d0a77a825ff16fc3449cd32d436107507e19ae8.zip | |
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: | |||
| 25 | /// Enables active mode. This mode will return the current status every 5-15ms | 25 | /// Enables active mode. This mode will return the current status every 5-15ms |
| 26 | DriverResult EnableActiveMode(); | 26 | DriverResult EnableActiveMode(); |
| 27 | 27 | ||
| 28 | /// Enables or disables the low power mode | ||
| 29 | DriverResult SetLowPowerMode(bool enable); | ||
| 30 | |||
| 31 | /// Unknown function used by the switch | ||
| 32 | DriverResult TriggersElapsed(); | ||
| 33 | |||
| 28 | /** | 34 | /** |
| 29 | * Sends a request to obtain the joycon firmware and mac from handle | 35 | * Sends a request to obtain the joycon firmware and mac from handle |
| 30 | * @returns controller device info | 36 | * @returns controller device info |