Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / gfx / vr / service / OpenVRKnucklesMapper.h
blob45168e7749e51fd0f626de859c22a9fbf0c9a186
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
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef GFX_VR_SERVICE_OPENVRKNUCKLESMAPPER_H
8 #define GFX_VR_SERVICE_OPENVRKNUCKLESMAPPER_H
10 #include "OpenVRControllerMapper.h"
12 namespace mozilla {
13 namespace gfx {
15 class OpenVRKnucklesMapper : public OpenVRControllerMapper {
16 public:
17 OpenVRKnucklesMapper() = default;
18 virtual ~OpenVRKnucklesMapper() = default;
19 virtual void UpdateButtons(VRControllerState& aControllerState,
20 ControllerInfo& aControllerInfo);
23 } // namespace gfx
24 } // namespace mozilla
26 #endif // GFX_VR_SERVICE_OPENVRKNUCKLESMAPPER_H