Accelerometer or Gyroscope control 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.
33993c75a0307bbae0b20890a6f1a5b586c83feb.jpeg

did you find any solution for that yet ? i am having the same problem ,
i even posted on answer hub still no a good example of how to implement a tilt solution that can work on all android devices