PGamepadEventChannel.ipdl 541 B

12345678910111213141516171819202122
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  3. * You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. include protocol PBackground;
  5. include GamepadEventTypes;
  6. namespace mozilla {
  7. namespace dom {
  8. async protocol PGamepadEventChannel {
  9. manager PBackground;
  10. parent:
  11. async GamepadListenerAdded();
  12. async GamepadListenerRemoved();
  13. child:
  14. async __delete__();
  15. async GamepadUpdate(GamepadChangeEvent aGamepadEvent);
  16. };
  17. }
  18. }