title: How do i check if mouse left button was double click?
body: <p>In the constructor I did:</p>
  
  <pre><code>mouseState = Mouse.GetState();
  var mousePosition = new Point(mouseState.X, mouseState.Y);
  </code></pre>
  
  <p>Then inside the input method I created I added:</p>
  
  <pre><code>private void ProcessInput(float amount)
  {
       Vector3 moveVector = new Vector3(0, 0, 0);
       KeyboardState keyState = Keyboard.GetState();
       if (keyState.IsKeyDown(Keys.Up) || keyState.IsKeyDown(Keys.W))
           moveVector += new Vector3(0, 0, -1);
       if (keyState.IsKeyDown(Keys.Down) || keyState.IsKeyDown(Keys.S))
           moveVector += new Vector3(0, 0, 1);
       if (keyState.IsKeyDown(Keys.Right) || keyState.IsKeyDown(Keys.D))
           moveVector += new Vector3(1, 0, 0);
       if (keyState.IsKeyDown(Keys.Left) || keyState.IsKeyDown(Keys.A))
           moveVector += new Vector3(-1, 0, 0);
       if (keyState.IsKeyDown(Keys.Q))
           moveVector += new Vector3(0, 1, 0);
       if (keyState.IsKeyDown(Keys.Z))
           moveVector += new Vector3(0, -1, 0);
       if (keyState.IsKeyDown(Keys.Escape))
       {
           this.graphics.PreferredBackBufferWidth = 800;
           this.graphics.PreferredBackBufferHeight = 600;
           this.graphics.IsFullScreen = false;
           this.graphics.ApplyChanges();
       }
       if (mouseState.LeftButton == ButtonState.Pressed)
       {
           this.graphics.PreferredBackBufferWidth = 1920;
           this.graphics.PreferredBackBufferHeight = 1080;
           this.graphics.IsFullScreen = true;
           this.graphics.ApplyChanges();
       }
  
       AddToCameraPosition(moveVector * amount);
   }
  </code></pre>
  
  <p>I added:</p>
  
  <pre><code>if (mouseState.LeftButton == ButtonState.Pressed)
  {
      this.graphics.PreferredBackBufferWidth = 1920;
      this.graphics.PreferredBackBufferHeight = 1080;
      this.graphics.IsFullScreen = true;
      this.graphics.ApplyChanges();
  }
  </code></pre>
  
  <p>I used a break point and when clicking the left mouse button it does nothing.
  It never enter this <code>if</code> block.
  It is getting to the <code>if</code> but never enters it.</p>
  
  <p>So how do I make it work? 
  And how do I make also double click on the mouse left button and not single click?</p>