Skip to content

function setLogicalKeyBinding (client-side)

Available since version: 0.2

This function sets keyboard keys binding for game action key.


void setLogicalKeyBinding(int logicalKeyId, array|null array)


  • int logicalKeyId: the id of the logical key. For more information see Logical key constants.
  • array|null array: containing all of the keyboard keys ids that will bound to logical key, or null if you want to unbind all keyboard keys from logical key.