I’ve been working on this tool for few days. Touch Gamepad
It requires a touch screen or it will fail, so you might be interested to test it on your mobile instead, or use chrome developer tool and enable the touch testing and refresh.
The one rotating the cube is actually a button. The rotation of the cube is to explain a timer variable you might want to use for making different action for long presses