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

joy_gamecontroller_config

🟪 Executable on Client and Server

joy_gamecontroller_config <value>

Game controller mapping (passed to SDL with SDL_HINT_GAMECONTROLLERCONFIG), can also be configured in Steam Big Picture mode.

Note:

The value is saved and will be restored on next startup.