The Web Applications Working Group has published a Working Draft of Gamepad. The Gamepad specification defines a low-level interface that represents gamepad devices. Currently, the only way for a gamepad to be used as input would be to emulate mouse or keyboard events, however this would lose information and require additional software outside of the user agent to accomplish emulation. The Gamepad API provides a solution to this problem by specifying interfaces that allow web applications to directly act on gamepad data. Learn more about the Rich Web Client Activity.