include/SDL_events.h
changeset 1297 7b32c7a586c9
parent 1294 1760ceb23bc6
child 1301 a78446e47413
equal deleted inserted replaced
1296:f418917e0b7a 1297:7b32c7a586c9
    81 #define SDL_EVENTMASK(X)	(1<<(X))
    81 #define SDL_EVENTMASK(X)	(1<<(X))
    82 typedef enum {
    82 typedef enum {
    83 	SDL_ACTIVEEVENTMASK	= SDL_EVENTMASK(SDL_ACTIVEEVENT),
    83 	SDL_ACTIVEEVENTMASK	= SDL_EVENTMASK(SDL_ACTIVEEVENT),
    84 	SDL_KEYDOWNMASK		= SDL_EVENTMASK(SDL_KEYDOWN),
    84 	SDL_KEYDOWNMASK		= SDL_EVENTMASK(SDL_KEYDOWN),
    85 	SDL_KEYUPMASK		= SDL_EVENTMASK(SDL_KEYUP),
    85 	SDL_KEYUPMASK		= SDL_EVENTMASK(SDL_KEYUP),
       
    86 	SDL_KEYEVENTMASK	= SDL_EVENTMASK(SDL_KEYDOWN)|
       
    87 	                          SDL_EVENTMASK(SDL_KEYUP)
    86 	SDL_MOUSEMOTIONMASK	= SDL_EVENTMASK(SDL_MOUSEMOTION),
    88 	SDL_MOUSEMOTIONMASK	= SDL_EVENTMASK(SDL_MOUSEMOTION),
    87 	SDL_MOUSEBUTTONDOWNMASK	= SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN),
    89 	SDL_MOUSEBUTTONDOWNMASK	= SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN),
    88 	SDL_MOUSEBUTTONUPMASK	= SDL_EVENTMASK(SDL_MOUSEBUTTONUP),
    90 	SDL_MOUSEBUTTONUPMASK	= SDL_EVENTMASK(SDL_MOUSEBUTTONUP),
    89 	SDL_MOUSEEVENTMASK	= SDL_EVENTMASK(SDL_MOUSEMOTION)|
    91 	SDL_MOUSEEVENTMASK	= SDL_EVENTMASK(SDL_MOUSEMOTION)|
    90 	                          SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN)|
    92 	                          SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN)|