create event constants, QUIT, PAUSE..etc