[Blueprints] Controlling 2d character by sensor?

i tried alot of different ways, and i still can’t figure this out. the best i could reach was to make the character move left or right with tilting set as axis input from the project settings, but in this method the character moves when i tilt the phone towards or away from me. i want to make when i tilt the phone left or right. and when i tried the rotation rate as input, the character goes the right direction for a fraction of second then keeps on flipping between slightly moving right/left
Help would be really appreciated.

this is one of the things i tried (rest was trials and errors in ue that i delete after they failed): How to set up tilt input axis mappings for mobile devices? - World Creation - Epic Developer Community Forums

and i was mainly going along with unrealengine’s 2d sidescroller tutorial, but in my game, and for mobile with sensor
testing on UE4.7.4, Samsung S4, game in portrait mode(from project settings, platforms, android), game is in x and z axis, and all game objects are on y=0 except the background.