Start inside the game
You do not need a mouse macro for an ordinary CS2 action. Open the game’s key assignments and press the side button. If the game records MOUSE4 or MOUSE5, assign the action to that input. For voice chat, one console example is bind "MOUSE4" "+voicerecord". Holding it transmits voice if the rest of your microphone setup is working.
Record the previous assignment
Before changing anything, enter bind "MOUSE4" and bind "MOUSE5" and save the reported actions. Do not guess which physical button is number four: check it in the menu. The published CS2 default-binding file assigns +voicerecord to MOUSE4, but your configuration may differ.
If CS2 receives a keyboard key instead
Check the input name recorded by the game menu. If it receives a letter, shortcut or browser action instead of a mouse button, inspect the mouse software’s remapping. Choose your exact model on ATTACK SHARK’s official Driver Download page. Other models may need different software and connection methods. Do not install an unrelated firmware package just to change a bind.
Isolate profile conflicts
For testing, use a normal single action available in your mouse software, then assign it again in CS2. Avoid running several programs that remap the same input. If the old action returns after restarting, compare the active mouse profile with bind lines in autoexec. Change one layer at a time: establish which input the game receives before changing its command.
Undo the test
Restore the command you recorded with bind or reassign the action in the game menu. unbind "MOUSE4" removes that CS2 assignment, but does not restore the old command or undo driver remapping. If the problem also occurs outside the game, check the mouse software and connection separately.