summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-03-31 06:33:50 +0200
committerGitHub <noreply@github.com>2024-03-31 06:33:50 +0200
commit6e5f8d669227a7cfea247023c5aa2eeabe54f99a (patch)
treebde0f2bf040dc5665e9ebcb191669aefd1cea1fc /Source/Core/InputCommon/ControllerInterface/CoreDevice.h
parent86102e7ce9e8a82206d8916fbc970f04c663a195 (diff)
parent3a85725ffa94ccef56e35249db3a9c58808ed882 (diff)
Merge pull request #12640 from jordan-woyak/sdl-cleanup
SDL: Cleanups
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
index 4ed5866eff..5c7a8ed568 100644
--- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
+++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
@@ -64,6 +64,10 @@ public:
// May be overridden to allow multiple valid names.
// Useful for backwards-compatible configurations when names change.
virtual bool IsMatchingName(std::string_view name) const;
+
+ // May be overridden to hide in UI.
+ // Useful for backwards-compatible configurations when names change.
+ virtual bool IsHidden() const;
};
//
@@ -164,6 +168,7 @@ protected:
ControlState GetState() const override;
std::string GetName() const override;
bool IsDetectable() const override;
+ bool IsHidden() const override;
bool IsMatchingName(std::string_view name) const override;
private: