GPC Developer Guides
...
Constants
Zen

PIO

The below table outlines all of the PIO which is defined, they're in general used along with get_controller and get_console

Name

Description

Value

PIO_NONE

get_controller/console identifier for no controller/console connected

0

PIO_AUTO

get_controller/console identifier for no controller/console connected

0

PIO_PS3

get_controller/console identifier for PlayStation 3 connected

1

PIO_XB360

get_controller/console identifier for Xbox 360 connected

2

PIO_WII

get_controller identifier for Nintendo Wii connected

3

PIO_PS4

get_controller/console identifier for PlayStation 4 connected

4

PIO_XB1

get_controller/console identifier for Xbox One/Series X|S connected

5

PIO_SWITCH

get_controller/console identifier for Nintendo Switch connected

6

PIO_PS5

get_controller/console identifier for PlayStation 5 connected

7

*PIO_PS5 is not yet available. You can use PIO_PS4 when working with a PlayStation 5.