| 658 | } |
| 659 | |
| 660 | void InputManager::OculusTouch::SubmitVibration(ovrControllerType controllerType, const ovrHapticsBuffer* buffer) |
| 661 | { |
| 662 | if (controllerType & ovrControllerType_LTouch) |
| 663 | m_HapticsBuffer[ovrHand_Left].AddSamples(buffer); |
| 664 | if (controllerType & ovrControllerType_RTouch) |
| 665 | m_HapticsBuffer[ovrHand_Right].AddSamples(buffer); |
| 666 | } |
| 667 | |
| 668 | InputManager::OculusRemote::OculusRemote(XrInstance instance) |
| 669 | : InputDevice(instance, "remote", "Oculus Remote") |
no test coverage detected