Add input event
Merge pull request #1 from JamesKyburz/master

Add input event