mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
226c880153
To collect the gamepad information on the user device, we introduce a chrome only function called RequestAllGamepads to Navigator. The function will return a promise which resolves when we get all gamepads info from the parent process. Note that we cannot rely on The existing navigator.getGamepads() function because it cannot allow us collecting gamepads info without the user interacts with the gamepads. Differential Revision: https://phabricator.services.mozilla.com/D207979 |
||
---|---|---|
.. | ||
GamepadEventChannelChild.cpp | ||
GamepadEventChannelChild.h | ||
GamepadEventChannelParent.cpp | ||
GamepadEventChannelParent.h | ||
GamepadEventTypes.ipdlh | ||
GamepadMessageUtils.h | ||
GamepadTestChannelChild.cpp | ||
GamepadTestChannelChild.h | ||
GamepadTestChannelParent.cpp | ||
GamepadTestChannelParent.h | ||
PGamepadEventChannel.ipdl | ||
PGamepadTestChannel.ipdl |