mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
ControllerInterface: Add IsHidden function to Control interface.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user