Function; UI_BindKeyEvent - HWRM/KarosGraveyard GitHub Wiki

UI_BindKeyEvent(<iKey>, <sFunctionName>)

Description

Binds the named function to the given key on the keyboard.
Unbind the function using UI_UnbindKeyEvent().

Example

UI_BindKeyEvent(HKEY, "HelloWorld")

Arguments

<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.

Related Pages

UI_UnbindKeyEvent()

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️