port gamepad API

Still haven't tested it. Preliminary thoughts?
`timestamp` is always 0 from `emscripten_get_gamepad_status`