Small change to allow desktop_pygame.py to expose the key_events dictionary to the outside