Skip to content

Keybinds & Input

15 pages · all function themes

The keybinding menu (kbm_*) plus key/hold input handlers mission makers can hook into.

FunctionDescription
VN_fnc_holdkey Function that exectues a user-defined code when a key has been held down for a long enough time.
VN_fnc_kbm_eh_control_cancel_onButtonClick Handles Cancel button click.
VN_fnc_kbm_eh_control_default_onButtonClick Handles Default button click.
VN_fnc_kbm_eh_control_input_onkeyDown No description added yet.
VN_fnc_kbm_eh_control_ok_onButtonClick Handles OK button click.
VN_fnc_kbm_eh_display_onLoad Loads the display.
VN_fnc_kbm_getKey Returns the currently assigned keybind to a specific action.
VN_fnc_kbm_keyName Formats the key name with the modifiers.
VN_fnc_kbm_load Initialize the keybindings loading and adds the event handler to the mission.
VN_fnc_kbm_loadKeys Loads the keybinds into the localNamespace.
VN_fnc_kbm_loadTable Populates the keybinding’s menu table with the keybinds.
VN_fnc_kbm_onButtonClick Handle a button click in the keybinding’s menu.
VN_fnc_kbm_onKey Handles the KeyDown / KeyUp event in the mission.
VN_fnc_kbm_onLBDblClick Handles LNB double-clicking to edit behavior.
VN_fnc_kbm_onLoad Keybindins menu load.