How to invert mouse in the preview window

Take a look at the editor preferences. If it’s possible, it should be there.