Lua:Class:GenericHotkey
Jump to navigation
Jump to search
GenericHotkey Class : (Inheritance: Object)
The generic hotkey class returns an object that can manage up to 5 hotkeys.
Functions[edit]
- createHotkey(function, keys, ...) : function
- Returns an initialized GenericHotkey class object. Maximum of 5 keys.
- createHotkey(function, {keys, ...}) : function
- Initializes a hotkey with a maximum of 5 keys.
Properties[edit]
- DelayBetweenActivate : integer
- Interval in milliseconds that determines the minimum time between hotkey activations. If set to 0, the global delay is used.
- onHotKey : parameter
- The function to call when the hotkey is pressed.
Methods[edit]
- getKeys() :
- setKeys(key, ....) :
- setOnHotkey(table) :
- getOnHotkey :