By default, the mouse buttons are assigned to camera control as:
- Left: Translate
- Right: Zoom
- Scroll/middle: Rotate
How do I change these mouse button bindings so that I want this?:
- Scroll/middle: Zoom
- Left: Rotate
- Right: Translate
I can see that the default mouse bindings for camera control are set in DirectCameraControl.py
. But, how can I change them from my main class which is derived from ShowBase
?