Function; UI_BindKeyEvent - HWRM/KarosGraveyard GitHub Wiki
UI_BindKeyEvent(<iKey>, <sFunctionName>)
Binds the named function to the given key on the keyboard.
Unbind the function using UI_UnbindKeyEvent().
UI_BindKeyEvent(HKEY, "HelloWorld")
<iKey>: the index number (or variable) corresponding to a key on the keyboard. For example IKEY
for the "I" key and JKEY
for the "J" key.
<sFunctionName>: the name of the function, in the form of a quoted string and without the trailing parentheses, to be called upon pressing the key.
Updated Formatting? Initial
Updated for HWRM? Initial