Disable all orientation input from Oculus

I am trying to do some experimental stuff with the Oculus rift and UE4, but cannot for the life of me figure out how to completely disable the orientation input from Oculus that makes you able to look around inside UE4. I have tried something like this but changed it to setting the SetViewRotation(NewViewRotation); to a zero NewViewRotation:

 void AYourPlayerController::UpdateRotation(float DeltaTime)
 {
      |
      |
       FRotator NewViewRotation;
       SetViewRotation(NewViewRotation)
    }

This disables the rotation, however the screen shakes when moving the rift, so it’s not completely disabled.
Any tips?

I think the sakes are caused by Timewarp, try to disable it I don’t know how.