Commits

aholkner  committed 59340d0

Fix typo.

  • Participants
  • Parent commits 1fc5189
  • Branches ctypes-soc

Comments (0)

Files changed (1)

File test/testjoystick.py

             elif event.type == SDL_JOYBUTTONUP:
                 print 'Joystick %d button %d up' % \
                     (event.which, event.button)
-            elif (event.type == SDL_KEDOWN and \
+            elif (event.type == SDL_KEYDOWN and \
                   event.keysym.sym == SDLK_ESCAPE) or event.type == SDL_QUIT:
                 done = 1
             event = SDL_PollEventAndReturn()