activate_mode


Description:

public bool activate_mode (PadMode mode, bool active)

Activates or deactivates the given pad in mode via dispatching to the pad's activatemodefunc.

For use from within pad activation functions only.

If you don't know what this is, you probably don't want to call it.

Parameters:

this

the Pad to activate or deactivate.

mode

the requested activation mode

active

whether or not the pad should be active.

Returns: