Use JInput
Merge pull request #9 from wilsonge/patch-2

Use JInput