diff options
Diffstat (limited to 'backends/common/keymap.h')
-rw-r--r-- | backends/common/keymap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/common/keymap.h b/backends/common/keymap.h index 55e5c598d8..d0829b8d29 100644 --- a/backends/common/keymap.h +++ b/backends/common/keymap.h @@ -96,6 +96,12 @@ public: */ void saveMappings(ConfigManager::Domain *domain, const String& name); + /** + * Returns true if all UserAction's in Keymap are mapped, or, + * all HardwareKey'ss from the given set have been used up. + */ + bool isComplete(const HardwareKeySet *hwKeys); + private: friend struct Action; /** |