Api-ms-crt-heap-l1-1-0.dll Windows 8

I know this is old, but how do you edit the controls using the controls.cfg file? I don't understand how all of the numbers correlate to the key inputs, and my bindings keep resetting when I relaunch the game.