зеркало из https://github.com/mozilla/gecko-dev.git
950eddbf30
Since the test code will be waiting on a promise from the addGamepad message, we can simply defer fulfilling the promise until monitoring starts if it hasn't already. Since every other message relies on the index given by the fulfilled promise, it ensures that we won't get any simulated events until monitoring starts Differential Revision: https://phabricator.services.mozilla.com/D86748 |
||
---|---|---|
.. | ||
android | ||
cocoa | ||
fallback | ||
ipc | ||
linux | ||
windows | ||
Gamepad.cpp | ||
Gamepad.h | ||
GamepadButton.cpp | ||
GamepadButton.h | ||
GamepadHapticActuator.cpp | ||
GamepadHapticActuator.h | ||
GamepadLightIndicator.cpp | ||
GamepadLightIndicator.h | ||
GamepadManager.cpp | ||
GamepadManager.h | ||
GamepadMonitoring.h | ||
GamepadPlatformService.cpp | ||
GamepadPlatformService.h | ||
GamepadPose.cpp | ||
GamepadPose.h | ||
GamepadPoseState.h | ||
GamepadRemapping.cpp | ||
GamepadRemapping.h | ||
GamepadServiceTest.cpp | ||
GamepadServiceTest.h | ||
GamepadTouch.cpp | ||
GamepadTouch.h | ||
GamepadTouchState.h | ||
moz.build |