Test without loading the new file
Back up the config you added. If you load it through +exec in Steam launch options, temporarily remove that option. If you replaced autoexec.cfg, temporarily rename it. Restart CS2. Settings already applied may persist, so check the controls separately.
Separate camera movement from button actions
If the cursor works in menus but the camera barely moves, enter sensitivity without a number and compare it with your previous value. If one button fails, check its assignment in the controls menu. Save its current binding before replacing it.
Restore commands gradually
Find sensitivity, bind and unbind lines in the CFG. Restore your needed settings through the menu or console. Once the controls work, add useful lines from the new CFG in small groups and test in practice. If the mouse also fails in Windows, check the device connection separately.