Problem with mouse/keboard input in Editor Game Window

Everything has been fine but today I hit play and in the Game window I am not getting my mouse and keyboard input.

I tried BootCamp and AngryBots and they both have the same problem. If I build and run the build they work fine so its something with Unity Editor Game window. The scene view and everything else works fine.

When I run AngryBots the camera will follow my mouse movement and I can make it fire when I press the left mouse button but I can’t get WASD or arrow buttons to move the character. In BootCamp the camera is not following my mouse movement but I can shoot the gun. I can not get the caracter to move. Shift and control doesn’t make him crotch. When I hit escape it takes me out of the mouse lock mode and I see my mouse cursor but I don’t see the Resume Menu.

I recently updated to 3.5 and not sure this has worked since I updated.

I reinstalled unity, I rebooted. etc. But no luck to fix this.

I created a new project, I made a script and add this one line to it. It always returns false.

using UnityEngine;

using System.Collections;

public class KeyboardTest : MonoBehaviour
{

// Use this for initialization
void Start()
{

}

// Update is called once per frame
void Update()
{
    Debug.Log(Input.anyKeyDown.ToString());
}

}

thanks rutter. This link was able to help me to get it to work.

It was similiar. I tried the DirectInput registry change but I was already set to that.

So What I did is deleted all the Unity registry trees. There was a couple, Unity, Unity Technologies and something else in the HKEY_CURRENT_USER/Software tree.

I think was happend is I had two installs, 3.4 and 3.5 and something having both got it confused.