Support for players key and mouse events

Added events for tracking key and mouse button presses, holds, and
releases.