Skip to content

function resetLogicalKeys (client-side)

Available since version: 0.2

This function resets all of the logical key bindings (e.g: character control, inventory key, etc.) back to default setttings from one of the presets.

Declaration

void resetLogicalKeys(int mode)

Parameters

  • int mode: mode that represents one of the two possible default controls setttings:
    0: default controls,
    1: alternative controls.