Touch Controls Question.

If anyone can help me on a Unity script question it would be greatly appreciated. I am trying to figure out a way to use a press and hold control along with a left/right swipe motion to go from idle to increase/decrease speed of my character. Does anyone have sample code that I can refer to?

Also I am a 15 year student trying to learn Unity so I am very grateful for any assistance that I receive here. For some reason some of my questions get down voted. I apologize if I am wording my questions inappropriately. Any feedback on what I am saying wrong would also be helpful as I really rely on the help I get here.

In Input.GetAxis(“MouseX”), will give you the delta of the mouse movement. In mobile, if you just use one finger for your game, the mouse scripts will work like : click= touch, etc.