mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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