Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.

joy_active

🟪 Executable on Client and Server

joy_active <value>

Which of the connected joysticks / gamepads to use (-1 means first found)