activate_mode_default


Description:

public static bool activate_mode_default (Pad pad, Object? parent, PadMode mode, bool active)

Invoke the default activate mode function of a ghost pad.

Parameters:

pad

the Pad to activate or deactivate.

parent

the parent of pad or null

mode

the requested activation mode

active

whether the pad should be active or not.

Returns:

true if the operation was successful.