disableInput(name) , method of controller

Disables the input on the controller of a player.

See Controller inputs

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

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

See all methods of the api.