Skip to content

NOTIFY_CONTROLLER_SUPPORT

Description

Opens the controller setup screen in the Nintendo Switch version of the game, then sets callbackResult based on the platform and controller count.

Parameters

None.

Return Value

game.callbackResult is set based on the platform and controller count:

game.callbackResult is set based on the platform and controller count:

globals->callbackResult is set based on the platform and controller count:

Example

EngineCallback(NOTIFY_CONTROLLER_SUPPORT)
CallNativeFunction2(NotifyCallback, NOTIFY_CONTROLLER_SUPPORT, 0)
NotifyCallback(NOTIFY_CONTROLLER_SUPPORT, NULL, NULL, NULL);