From 7a13a515d9b10a789d20f9ec8e4e52b1112ed171 Mon Sep 17 00:00:00 2001 From: german77 Date: Sat, 1 Jan 2022 21:25:30 -0600 Subject: core/hid: Add fallback to fullkey controllers --- src/core/hid/emulated_controller.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/hid/emulated_controller.h') 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 @@ -320,6 +320,12 @@ private: /// Set the params for TAS devices 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 -- cgit v1.2.3