Accelerometer or Gyroscope controler of player

Good day!
Can somebody help me? I try to make control of ball (player) via gyroscope on Android or Apple devices.
I want to use gyroscope as controller for directional movements of ball and i don’t understand how to make that.
I have my own example of Blueprint to control ball.

Why didn’t anybody give an answer about this topic?? I have the same problem too…

I have the same problem too… I need to give input in my game as game controller via Accelerometer and Gyroscope.
How can I do that in Unreal Engine… Any template or platformer for that can be very helpful…

Regurds
to those who can give solution

This might be a solutoin.

Maybe this helps