diff options
Diffstat (limited to 'backends/keymapper/action.h')
-rw-r--r-- | backends/keymapper/action.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/backends/keymapper/action.h b/backends/keymapper/action.h index 31576e2960..c78a526414 100644 --- a/backends/keymapper/action.h +++ b/backends/keymapper/action.h @@ -54,19 +54,17 @@ struct Action { ActionType type; KeyType preferredKey; int priority; - int group; - int flags; private: /** Hardware key that is mapped to this Action */ - const HardwareKey *_hwKey; + HardwareKey *_hwKey; Keymap *_boss; public: Action(Keymap *boss, const char *id, String des = "", ActionType typ = kGenericActionType, KeyType prefKey = kGenericKeyType, - int pri = 0, int flg = 0 ); + int pri = 0); void addEvent(const Event &evt) { events.push_back(evt); @@ -105,7 +103,7 @@ public: return _boss; } - void mapKey(const HardwareKey *key); + void mapKey(const HardwareKey *key, byte flags = 0); const HardwareKey *getMappedKey() const; }; |