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

joy_invertx2

🟥 Executable on Client only

joy_invertx2 <value>

Whether to invert the X axis of the joystick for looking.

Note:

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