Horizontal input is generated when key is NOT pressed

There is a constant “left horizontal” input value being generated (-.9903171) even when the “left arrow” key is NOT being pressed. Does anyone know why this is happening?

var speed = 3.0;
var rotateSpeed = 0.0;
function Update ()

{
var controller : CharacterController = GetComponent(CharacterController);
transform.Rotate(0, Input.GetAxis (“Horizontal”), 0);
var forward = transform.TransformDirection(Vector3.forward);
var curSpeed = speed * Input.GetAxis (“Vertical”);
controller.SimpleMove(forward * curSpeed);

// print for reference
print (Input.GetAxis (“Vertical”) + " / " + Input.GetAxis (“Horizontal”));
}

@script RequireComponent(CharacterController)

582596--20734--$HorizontalInputValue.png

What is your horizontal axis set to? Is it connected to other buttons or your mouse?

Have any joysticks/gamepads plugged in?

–Eric

Thanks guys! Eric hit it. I’ve never used the Unity controller component before and just noticed I had my flight sim pedals hooked up to a USB jack. I unplugged it and problem solved.