zpr
Thanks to Nigel Stewart at nigels.com for zpr.h . I requested permission to use zpr.h as mouse support is great and essential for 3D graphics and just plugs into OpenGL C++ code.
Left button rotates about the global origin which moves when the user pans. Right mouse button pans. The third mouse button (hold down left and right for 2 button mouse) zooms.
The example in main is a coordinate system pointer.