Call this routine in the main command loop. It handles any mouse commands.
0 no mouse input !=0 value is a keystroke
See Implementation
Call this routine in the main command loop. It handles any mouse commands.