Public feed
#888582
######################################################
#Module for handleing all input #
######################################################
import pygame
from pygame.locals import *
class CheckKeyboard():
def getkey(self):
#gets keyboard events #
self
pygame.event.get()
for event in events:
if event.type == pygame.KEYDOWN:
if event.key == K_ESCAPE:
print " your pressing escape"
sys.exit(0)