
If you don't want to bind anything to toggleconsole you can remove it, or if you don't want to bind F-keys, just type in any key you wish to bind inside the quotation marks. You're open to edit any part you deem necessary. Keybindings to togglecontroller, togglekeyboard and toggleconsole These aliases create an automatic toggle for remapping your keyboardĪlias "togglekeyboard" "sv_cheats 1 key_remap_keyboard_for_player1"Īlias "key_remap_keyboard_for_player1" "in_forceuser 0 alias togglekeyboard key_remap_keyboard_for_player2 echo Keyboard remapped to Player 1"Īlias "key_remap_keyboard_for_player2" "in_forceuser 1 alias togglekeyboard key_remap_keyboard_for_player1 echo Keyboard remapped to Player 2" These aliases create an automatic toggle for remapping your controllerĪlias "remap1to2" "joy_remap_player_for_controller1 2 alias togglecontroller remap2to1 echo Xbox 360 controller 1 remapped to Player 2"Īlias "remap2to1" "joy_remap_player_for_controller1 1 alias togglecontroller remap1to2 echo Xbox 360 controller 1 remapped to Player 1" This automatically enables console so you don't have to None of your text editing programs probably know how to open it, but once you double-click it select " Open with notepad". If you rename it to anything else, it is not automatically executed! Hence the name "autoexec". Make sure your folder settings is set to show file extensions. Rename the file to autoexec.cfg and remove the. Text files automatically have the extension. Press right mouse button while in the cfg folder, left click on New ("uusi" in finnish) and press Text file (again "tekstitiedosto" in finnish).

To create the file you need to create a new text file like this: In Linux or iOS the default install directories are found in Steam Support. Take note of the directory: it's fairly similar in every Windows system. The most preferable way is to create a new file called autoexec.cfg in the cfg folder in your Portal 2 install directory.

Creating an autoexec.cfg otherwise known as user configuration
