| 666 | } |
| 667 | |
| 668 | InputManager::OculusRemote::OculusRemote(XrInstance instance) |
| 669 | : InputDevice(instance, "remote", "Oculus Remote") |
| 670 | , m_IsConnected(false) |
| 671 | , m_Toggle_Connected(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "toggle-connect", "Connect the remote") |
| 672 | , m_Button_Up(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "up-click", "Up pressed") |
| 673 | , m_Button_Down(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "down-click", "Down pressed") |
| 674 | , m_Button_Left(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "left-click", "Left pressed") |
| 675 | , m_Button_Right(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "right-click", "Right pressed") |
| 676 | , m_Button_Enter(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "enter-click", "Select pressed") |
| 677 | , m_Button_Back(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "back-click", "Back pressed") |
| 678 | , m_Button_VolUp(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "vol-up", "Volume up") |
| 679 | , m_Button_VolDown(this, XR_ACTION_TYPE_BOOLEAN_INPUT, "vol-down", "Volume down") |
| 680 | { |
| 681 | } |
| 682 | |
| 683 | bool InputManager::OculusRemote::IsConnected() const |
| 684 | { |
nothing calls this directly
no outgoing calls
no test coverage detected