For the complete documentation index, see llms.txt. This page is also available as Markdown.

Output protocol and identity

Read current console protocol:

int console_type;

init {
    console_type = get_console();
}

Read input controller protocol:

int controller_type;

init {
    controller_type = get_controller();
}

Select the intended output protocol in Zen Studio's device configuration. GPC can read the active console and controller identities, but it does not provide a supported function for changing the configured output protocol.

Do not infer controller type from console type; cross-platform controller use is a primary Zen use case. get_console() reports the active output side, while get_controller() reports the connected input controller.

Last updated