Input.GetKey no working

Hello everybody,

I work on my character movement in unity 5 and something strange happen.
When i use the key “s” “q” “c” in the same time my code work but when i use “s” “d” “c”, my code doesn’t work.

I have an azerty keyboard and i have try in qwerty and i got the same result.
I have made a small code to test :

        if(Input.GetKey("s")){
      
            if(Input.GetKey("q") && Input.GetKey("c")){
          
                Debug.Log("S+Q+C");// work
          
            }else if(Input.GetKey("d") && Input.GetKey("c")){
          
                Debug.Log("S+D+C");// not work
          
            }else{

                Debug.Log("S");// work
          
            }

        }
      
        if(Input.GetKey("s") && Input.GetKey("d") && Input.GetKey("c")){
      
            Debug.Log("WORK");// not work
      
        }

For me, “s” “d” “c” don’t work when i press all keys. I have tested in Unity 4.x and Unity 5, same result.

If someone can test or maybe know what happen.

Have a good day.

Thank You.

http://www.microsoft.com/appliedsciences/antighostingexplained.mspx

Is this your problem?..

Thank for your link.

I have never heard something like this and it’s a nice information.

Maybe my problem.

Input.GetKey(KeyCode.S);
Input.GetKey(KeyCode.Q);
Input.GetKey(KeyCode.D);