Skip to content

RegisterControl

Input.RegisterControl(group, id)
This function registers a key.

Arguments

Argument Data Type Optional Default Value Explanation
group key No - Input groups
id key No - Controls

Dependency

local Input = M('input')

Example

Input.RegisterControl(Input.Groups.MOVE, Input.Controls.PICKUP) -- [E]

Improve this documentation