summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_protocol/generic_functions.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-01-26 18:21:04 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-26 18:21:04 +0100
commit49707916db500e8225676a4caa4109f69d25faf3 (patch)
tree83aa03583c1a62fe0e86bfdb44e9e11b7d480a0d /src/input_common/helpers/joycon_protocol/generic_functions.h
parentRevert 9617 and fix it on input_common (diff)
downloadyuzu-49707916db500e8225676a4caa4109f69d25faf3.tar
yuzu-49707916db500e8225676a4caa4109f69d25faf3.tar.gz
yuzu-49707916db500e8225676a4caa4109f69d25faf3.tar.bz2
yuzu-49707916db500e8225676a4caa4109f69d25faf3.tar.lz
yuzu-49707916db500e8225676a4caa4109f69d25faf3.tar.xz
yuzu-49707916db500e8225676a4caa4109f69d25faf3.tar.zst
yuzu-49707916db500e8225676a4caa4109f69d25faf3.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/helpers/joycon_protocol/generic_functions.h6
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