I have written the following program to detect touch input with mouse as well as swipe input on a mobile device.
The mobile part works great with the Unity\'s Device