I don’t believe SketchUp provides a way to alter these settings, but many mouse drivers allow you to specify what events you want each button and wheel to send on a per-application basis. You could then swap the events assigned to these actions in the driver.