PGamepadTestChannel.ipdl 576 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 PGamepadTestChannel {
  9. manager PBackground;
  10. parent:
  11. async GamepadTestEvent(uint32_t aID, GamepadChangeEvent aGamepadEvent);
  12. async ShutdownChannel();
  13. child:
  14. async __delete__();
  15. async ReplyGamepadIndex(uint32_t aID, uint32_t aIndex);
  16. };
  17. }
  18. }