I have a simple program that accepts mouse input to rotate say a cube in openGL, but it always rotates around the objects local coordinates. This leads to some nonintuitive behavior (twist right 90 ...
With the mouse pointer inside the graphics drawing area, hold down the CTRL key and then press and hold a mouse button in order to enter the desired 'interaction' mode. As long as the CTRL key is held ...