Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / dom / gamepad / GamepadMonitoring.h
blob67b473747064082a528e8012e2b79bdf88b8de3e
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_dom_GamepadMonitoring_h_
8 #define mozilla_dom_GamepadMonitoring_h_
9 #include "mozilla/dom/GamepadHandle.h"
11 namespace mozilla::dom {
13 // These two functions are implemented in the platform specific service files
14 // (linux/LinuxGamepad.cpp, cocoa/CocoaGamepad.cpp, etc)
15 void StartGamepadMonitoring();
16 void StopGamepadMonitoring();
17 void SetGamepadLightIndicatorColor(const Tainted<GamepadHandle>& aGamepadHandle,
18 const Tainted<uint32_t>& aLightColorIndex,
19 const uint8_t& aRed, const uint8_t& aGreen,
20 const uint8_t& aBlue);
22 } // namespace mozilla::dom
24 #endif