set_default_controller


Description:

public void set_default_controller (ControllerType controller_type, Controller? controller)

Uses controller as the default controller for the given type.

When a port has no controller plugged plugged into it, the core will use the default controllers instead.

Parameters:

this

a Core

controller_type

a ControllerType

controller

a Controller