Adds an action to a keybind from config.
_component | Classname under “CfgSettings” >> “CBA” >> “events” STRING |
_action | Action name STRING |
_code | Code to execute upon event. <CODE> |
_type | ”keydown” or “keyup”. [optional] (default: “keydown”) STRING |
_hashKey | Key handler identifier. Used to remove or change the key handler. STRING |
["cba_sys_nvg", "nvgon", {_this call myAction}] call CBA_fnc_addKeyHandlerFromConfig
Sickboy, commy2