Gamepad Detection Code

Detects if the current browser supports gamepads. If so, prompts the user to press a button to use the gamepad, and indicates when it detects an active gamepad. If the user has started MESS, it tells the user to restart MESS in order to use the gamepad.