| 85 | } |
| 86 | |
| 87 | ovrResult InputManager::SubmitControllerVibration(ovrSession session, ovrControllerType controllerType, const ovrHapticsBuffer* buffer) |
| 88 | { |
| 89 | for (InputDevice* device : m_InputDevices) |
| 90 | { |
| 91 | if (controllerType & device->GetType() && device->IsConnected()) |
| 92 | device->SubmitVibration(controllerType, buffer); |
| 93 | } |
| 94 | |
| 95 | return ovrSuccess; |
| 96 | } |
| 97 | |
| 98 | ovrResult InputManager::GetControllerVibrationState(ovrSession session, ovrControllerType controllerType, ovrHapticsPlaybackState* outState) |
| 99 | { |
no test coverage detected