static String keyIdentifierForEvasKeyName(String& keyName) { if (gKeyMap.isEmpty()) createKeyMap(); if (gKeyMap.contains(keyName)) return gKeyMap.get(keyName); return keyName; }
inline bool mCheckKeyMap(const KeyMap& mKeyMap, int mki) { return mKeyMap.get(Preferences::preferences()->key(mki) - 1); }
inline bool mCommandKey(const KeyMap& km) { return km.get(Keys::COMMAND); }
inline bool mLeftArrowKey(const KeyMap& km) { return km.get(Keys::LEFT_ARROW); }
inline bool mQKey(const KeyMap& km) { return km.get(Keys::Q); }
inline bool mEscKey(const KeyMap& km) { return km.get(Keys::ESCAPE); }
inline bool mReturnKey(const KeyMap& km) { return km.get(Keys::RETURN); }
inline bool mCapsLockKey(const KeyMap& km) { return km.get(Keys::CAPS_LOCK); }
inline bool mDeleteKey(const KeyMap& km) { return km.get(Keys::BACKSPACE); }