Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame
- pygame.init()
- display_width = 800
- display_height = 600
- game_display = pygame.display.set_mode((display_width, display_height))
- pygame.display.update()
- while True:
- for event in pygame.event.get():
- print(event)
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement