Add gamepad script file
Add example code from Mozilla's article

https://developer.mozilla.org/en-US/docs/Web/Guide/API/Gamepad