Which macro will "push" the mouse certain amount of pixels? (need for a FPS game)

By default, the mouse is always centered at the middle of the screen in the game.

I want to do a 180° turn, but I can’t figure out how to achieve it.

Let me see if I get this: Using KM you want to move the mouse a sufficient number of pixels (either left or right) to spin round EXACTLY 180 degrees?

Do you have a button on your mouse which will increase or decrease its sensitivity?

Do you have dynamic mouse sensitivity? That is, the mouse becomes more sensitive the faster you move it. Is that adjustable at the system level, game level, or both?

Is there a function in the game to do what you want?

Using KM you want to move the mouse a sufficient number of pixels (either left or right) to spin round EXACTLY 180 degrees?

Yes.

Do you have a button on your mouse which will increase or decrease its sensitivity?

Yes.

Do you have dynamic mouse sensitivity? That is, the mouse becomes more sensitive the faster you move it. Is that adjustable at the system level, game level, or both?

I have one button (customizable) which determines "DPI Shift."
For example, I can shift from 200 DPI to 2000 DPI, or from 2000 to 200.

Is there a function in the game to do what you want?

No… but on the second thought, maybe. I can bind a key to spin left or right, however the spinning speed is too slow, and the command got removed a while ago, so there is no way to execute it internally.

Thank you for helping.