MCPcopy Create free account
hub / github.com/LibreVR/Revive / OculusRemote

Class OculusRemote

Revive/InputManager.h:114–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 };
113
114 class OculusRemote : public InputDevice
115 {
116 public:
117 OculusRemote(vr::VRActionSetHandle_t actionSet);
118 virtual ~OculusRemote() { }
119
120 virtual ovrControllerType GetType() { return ovrControllerType_Remote; }
121 virtual bool IsConnected() const;
122 virtual bool GetInputState(ovrSession session, ovrInputState* inputState);
123
124 private:
125 vr::VRActionHandle_t m_Button_Up;
126 vr::VRActionHandle_t m_Button_Down;
127 vr::VRActionHandle_t m_Button_Left;
128 vr::VRActionHandle_t m_Button_Right;
129 vr::VRActionHandle_t m_Button_Enter;
130 vr::VRActionHandle_t m_Button_Back;
131 vr::VRActionHandle_t m_Button_VolUp;
132 vr::VRActionHandle_t m_Button_VolDown;
133 };
134
135 class XboxGamepad : public InputDevice
136 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected