How can i make tilt controls for a charater for a android phone but use he arrow keys

on the pc to test it out.

Add a second controller which uses the arrow keys.

You can add || into your if statements as well to handle both.