title: How can I get two same inputs in unity?
body: <p>I'm trying to create an Android game but now testing with input keys.
  What I'm trying to do is to get "right" key twice but not sure how.
  Here's my code:</p>
  
  <pre><code>void Update () {
      if(Input.GetKeyDown("left"))
      {
          Debug.Log("in the left zone");
          isLeft = true;
      }
      if(Input.GetKeyDown("right"))
      {
          isRight = true;
  
          if(Input.GetKeyDown("right"))
          {
              isDoubleRight = true;
              isRight = false;
              Debug.Log("in the double right zone");
          }
      }
  }
  </code></pre>
  
  <p>Also, same logic would go for the touch in the future. Would it have the same logic with the key input?
  Any advice for me please? 
  Thanks kindly in advance</p>