summaryrefslogtreecommitdiffstats
path: root/dom/gamepad/ipc/GamepadServiceType.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/gamepad/ipc/GamepadServiceType.h')
-rw-r--r--dom/gamepad/ipc/GamepadServiceType.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/gamepad/ipc/GamepadServiceType.h b/dom/gamepad/ipc/GamepadServiceType.h
new file mode 100644
index 000000000..acc0967d1
--- /dev/null
+++ b/dom/gamepad/ipc/GamepadServiceType.h
@@ -0,0 +1,20 @@
+
+#ifndef mozilla_dom_GamepadServiceType_h_
+#define mozilla_dom_GamepadServiceType_h_
+
+namespace mozilla{
+namespace dom{
+
+// Standard channel is used for managing gamepads that
+// are from GamepadPlatformService. VR channel
+// is for gamepads that are from VRManagerChild.
+enum class GamepadServiceType : uint16_t {
+ Standard,
+ VR,
+ NumGamepadServiceType
+};
+
+}// namespace dom
+}// namespace mozilla
+
+#endif // mozilla_dom_GamepadServiceType_h_ \ No newline at end of file