summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-04 00:04:37 +0100
committerGitHub <noreply@github.com>2022-01-04 00:04:37 +0100
commitabbbdc2bc027ed7af236625ae8427a46df63f7e7 (patch)
tree38f9f01b22cb2bc4cd1c012725094133b7587d22 /src/core/hid/emulated_controller.h
parentMerge pull request #7662 from german77/uistatus (diff)
parentcore/hid: Add fallback to fullkey controllers (diff)
downloadyuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.tar
yuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.tar.gz
yuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.tar.bz2
yuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.tar.lz
yuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.tar.xz
yuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.tar.zst
yuzu-abbbdc2bc027ed7af236625ae8427a46df63f7e7.zip
Diffstat (limited to '')
-rw-r--r--src/core/hid/emulated_controller.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index d887eca87..c0994ab4d 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -321,6 +321,12 @@ private:
void LoadTASParams();
/**
+ * @param use_temporary_value If true tmp_npad_type will be used
+ * @return true if the controller style is fullkey
+ */
+ bool IsControllerFullkey(bool use_temporary_value = false) const;
+
+ /**
* Checks the current controller type against the supported_style_tag
* @param use_temporary_value If true tmp_npad_type will be used
* @return true if the controller is supported