Joysticks

Joysticks should work, still have to be tested on touchpads to make
sure.
Merge pull request #1 from wanek/webgl-branch-1

Joystick functionality added