Method keys.more.parseTriggerString
Overload
Parses hotkey trigger string or mouse trigger modifiers string.
Like keys.more.parseHotkeyString, but supports "any mod" (like "Shift?+K"
or "?+K"
) and noKey.
public static bool parseTriggerString(string s, out KMod mod, out KMod modAny, out KKey key, bool noKey)
Parameters
s (string) |
mod (KMod) |
modAny (KMod) |
key (KKey) |
noKey (bool)
Modifiers only. If |