title: How to delay pygame.key.get_pressed()?
body: <p>I haven't been able to find a straightforward answer.</p>
  
  <p><code>key.set_repeat()</code> works for <code>KEYDOWN</code> events, but not for <code>key.get_pressed()</code>:</p>
  
  <pre><code>import sys, pygame
  from pygame.locals import *
  
  pygame.init()
  Clock = pygame.time.Clock()
  pygame.display.set_mode((200, 100))
  
  pygame.key.set_repeat(1, 500)
  
  while True:
  
      if pygame.key.get_pressed()[K_UP]:
          print('up!')
  
      for event in pygame.event.get():
  
          if event.type == QUIT:
              pygame.quit()
              sys.exit()
  
          elif event.type == KEYDOWN:
              if event.key == K_DOWN:
                  print('down!')
  
      Clock.tick(30)
  </code></pre>
  
  <p>Even the slightest tap on UP explodes into at least a few up!s, only down!s are delayed. I want to use <code>key.get_pressed()</code> since it conveniently handles multiple inputs. Do I have to work around it with some sorta tick counter? Alternatively, is there a way to handle multiple <code>KEYDOWN</code> events?</p>