GetBindingAction
Jump to navigation
Jump to search
Returns the binding name for a key (combination).
action = GetBindingAction(binding[, checkOverride])
Arguments
- binding
- string - The name of the key (eg. "BUTTON1", "1", "CTRL-G")
- checkOverride
- boolean? - if true, override bindings will be checked, otherwise, only default (bindings.xml/SetBinding) bindings are consulted.
Returns
- action
- string - action command performed by the binding. If no action is bound to the key, an empty string is returned.