Gamepad Support

by Pokemonred200
Use Gamepads with the Webclient!
ID:1884050
 
Using the HTML 5 gamepad API (and some source code I downloaded when a similar library created by GatewayRa was on the website), I've created an interface to allow Xinput (or DirectInput) gamepads to be used in BYOND games via the webclient. Currently, button values are stored with the buttons[] and abuttons[] lists on the client (for regular button presses and pressure sensitive button presses, respectively), and the axes values are as well, via the axes[] list. Button presses/releases can also be detected via the DownedButton()/ReleasedButton() events. More Details coming in the future.
This library should work properly soon on Chrome since there is a bug in Chrome that causes issues with the Gamepad API.