| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected