Lua:Class:GenericHotkey

From Cheat Engine
Revision as of 15:37, 5 August 2021 by LeFiXER (talk | contribs) (Created page with "Category:GenericHotkey GenericHotkey '''Class''' : ('''Inheritance''': ''Object'') The generic hotkey class returns an object that can manage up to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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

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

getKeys() :
setKeys(key, ....) :
setOnHotkey(table) :
getOnHotkey :