Gamepad test

VR BOX2 gamepad has joystick (with A0, A1 axes) and "A,B,C,D, Enter,Esc" buttons (and @, On/Off ones). Press @B to switch it to the game mode. Use e.g. HTML5 Gamepad Tester to get the button mapping:
A B C D Enter Esc
B4 B0 B3 B1 B6 B7

Test values of navigator.getGamepads()

Gamepad not connected

For some reason in Firefox VR BOX2 gamepad sends "axes" values in [-512, 0] range (not [-1, 1] as in spec and Chrome).
WebXR samples     updated 6 Feb 2020