title: How to slow down or stop key presses in XNA
body: <p>I've begun writing a game using XNA Framework and have hit some simple problem I do not know how to solve correctly.</p>
  
  <p>I'm displaying a menu using Texture2D and using the keyboard (or gamepad) I change the menu item that is selected. My problem is that the current function used to toggle between menu items is way too fast. I might click the down button and it will go down 5 or 6 menu items (due to the fact that Update() is called many time thus updating the selected item).</p>
  
  <pre><code>ex.
  (&gt; indicate selected)
  &gt; MenuItem1
  MenuItem2
  MenuItem3
  MenuItem4
  MenuItem5
  
  I press the down key for just a second), then I have this state:
  
  MenuItem1
  MenuItem2
  MenuItem3
  &gt; MenuItem4
  MenuItem5
  
  What I want is (until I press the key again)
  MenuItem1
  &gt; MenuItem2
  MenuItem3
  MenuItem4
  MenuItem5
  </code></pre>
  
  <p>What I am looking for is a way to either have the player click the up/down key many time in order to go from one menu item to the other, or to have some sort of minimum wait time before going to the next menu item.</p>