accelerometer and gyroscope. how to connect?

How can I connect a gyroscope or accelerometer, I tried to deduce the value of activation / gravity / tilt / through a string print but nothing has changed.
i need slopes …

hi @AdrianG0011 How can I connect an Android phone’s gyros to control Unreal player in UE4? I cant find a guide anywhere. thanks

The AR template uses the motion controls the way that i need my app to be, but i dont want to use the camera from the AR session, is there any tutorial or pluggin that simulates the real world movement like the AR tutorial?