How to change middle mouse button behaviour

I am using Sketchup 2020. I want to change the middle mouse button behavior as Click-Drag to Pan, and Shift+Click-Drag to Orbit.

There is no option for making that change in SketchUp.

If you’re on a Windows machine you could look into AutoHotKey to do what you want to do…