Unity accepts Input from keyboard, joystick and gamepad.

To find the Input Manager  go to Edit->Project Settings->Input in the menu

input-manager-unity-3D

Using Input Axes from Scripts

You can query the current state from a script like this:

value = Input.GetAxis ("Horizontal");