VR camera control

Hi

We currently use HTC Vive focus 3 in our UE application.
UE version is 4.27.2

We want to cancel helmet roll during rendering.
How can we do in C++ please ?
Is it possible to mannage (in C++) the helmet tracking to control render camera.