swipe horizontal and vertival

Hi,

I have a first person controller with Input.GetAxis horizontal and vertical and I have a touch screen.
I like to control the character using horizontal and vertical swipe.

I am on desktop with windows 7.
Note that I do not need multi touch screen.

Can somebody point me into the right direction.

Regards,
Josepe

You can figure out if swipe is hor or ver by looking up the start and end of the touch magnitude.
Then if y magnitude is higher than x, it’s vertical and hor the other way around.

Then do whatever you want with the info.