GetCommandsBoundToKey: Difference between revisions
Jump to navigation
Jump to search
m (Correction) |
OpenIDUser32 (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
==Example== | ==Example== | ||
{{Example}} | |||
==See Also== | ==See Also== | ||
{{Input_functions}} | {{Input_functions}} | ||
Revision as of 05:33, 21 November 2011
Gets the commands bound to a key.
Syntax
table getCommandsBoundToKey ( string theKey, string keyState )
Required Arguments
- theKey: See key names for a list of possible keys
- keyState: A string that has one of the following values:
- "up": If the bound key should trigger the function when the key is released
- "down": If the bound key should trigger the function when the key is pressed
Returns
Returns a table of the commands bound on that key.
Example
Script Example Missing Function GetCommandsBoundToKey needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- TODO
See Also
- addCommandHandler
- bindKey
- executeCommandHandler
- getCommandHandlers
- getFunctionsBoundToKey
- getKeyBoundToFunction
- isControlEnabled
- removeCommandHandler
- toggleAllControls
- toggleControl
- unbindKey