Client
Disable/enable a specific key.
input.key_disable(keyname --[[ string ]], disabled --[[ boolean ]])
input.key_disable(keycode --[[ integer ]], disabled --[[ boolean ]])
Using a keyname:
input.key_disable("F2", true)
Using a keycode:
input.key_disable(60, true)
This function doesn't need to be called every frame.
Last updated 2 months ago