enableInput(name) , method of controller

Enable the input on the controller of a player.

See Controller inputs

Parameters:
name type description
name string name of the event
// set the edge input on the controller of player with id=1.

UB.controller(playerID).enableInput("edge");

See all methods of the api.