fixup! Issue #99: generatekeyevent should send events to the system.

Keep API consistent.
Merge pull request #101 from mpichlin/issue-99/1

fixup! Issue #99: generatekeyevent should send events to the system.