Add tri-state mouse button routines.

Also fix Keyboard.isPressed() to return current button state.