title: Is it me or is pygame.key.get_pressed() not working?
body: <p>okay, so I am making a basic space-ship game.</p>
  
  <p>I can't get rotation to work because it scrambles the bitmap, but that's for another question.Should I even use a gif? any other filetype suggestions?</p>
  
  <p>back to the actual point here, so:</p>
  
  <pre><code>k = pygame.key.get_pressed()
  </code></pre>
  
  <p>yeah, self explanatory. this doesn't work, as it returns each key as pressed.</p>
  
  <p>so, somewhere else:</p>
  
  <pre><code>d = k[pygame.K_d]
  </code></pre>
  
  <p>and another line:</p>
  
  <pre><code>print d
  </code></pre>
  
  <p>and another:</p>
  
  <pre><code>if d:
  </code></pre>
  
  <p>So, k returns as each key on the keyboard pressed.</p>
  
  <p>d returns 0 indefinitely, whether or not d is pressed.</p>
  
  <p>d is always 0.</p>
  
  <p>the statement about d therefore is never true.</p>
  
  <p>Why is this happening?</p>