Add keyevent method
Merge pull request #155 from DylanLacey/keyevent

Add keyevent method