removeKeybind
Disables an existing keybind without completely removing it from the system.
Parameters:
key
(string): The keyboard key to disable
Returns:
None
Behavior:
If keybind exists: Disables the keybind (can be re-enabled with
addKeybind
)If keybind doesn't exist: Shows debug message
Example:
-- Disable a keybind temporarily
ps.removeKeybind('F1')
-- Later re-enable it
ps.addKeybind('F1', 'openMenu')
Last updated