CBA_fnc_addKeyHandler

Description

Adds an action to a keyhandler

Parameters

_keyNumerical key to attach action to [Integer].
_settingsShift, Ctrl, Alt required [Array].
_codeCode to execute upon event [Code].
_type”keydown” (default) = keyDown, “keyup” = keyUp [String].
_hashKeyused to identify this handler [String].

Returns

Examples

[47, [true, false, false], { _this call myAction }] call CBA_fnc_addKeyHandler;

Author

Sickboy

Close