cl_dummy_resetonswitch 1
exec reset_switch.txt
in game and it should bind it to x
x
by something differentx
appears twice in that file, don't miss the second one%appdata%\Teeworlds
New: %appdata%\DDNet
On Linux:
Old: ~/.teeworlds
New: ~/.local/share/ddnet
On macOS:
Old: ~/Library/Application Support/Teeworlds
New: ~/Library/Application Support/DDNet
mapres
folder in your config directory