Endless runner and tilting phone for turning

Hi All

I have attached a few photos and please correct me if I am incorrect or what I am required to do…

Here are my project settings.


Here is where I assume tilting the mobile phone left and right will make my character turn left or right.

Here are my controls to turn corner.

What would I need to do/change so I can use tilt to turn corners with a small dead centre zone in-case you are not holding your phone dead flat?

Thank you for taking the to read this.


Clamp the float values for input given the input action Tilt based on the dead zone you are attempting to create.