include/SDL_events.h
changeset 1330 450721ad5436
parent 1312 c9b51268668f
child 1356 67114343400d
equal deleted inserted replaced
1329:bc67bbf87818 1330:450721ad5436
    35 #include "begin_code.h"
    35 #include "begin_code.h"
    36 /* Set up for C function definitions, even when using C++ */
    36 /* Set up for C function definitions, even when using C++ */
    37 #ifdef __cplusplus
    37 #ifdef __cplusplus
    38 extern "C" {
    38 extern "C" {
    39 #endif
    39 #endif
       
    40 
       
    41 /* General keyboard/mouse state definitions */
       
    42 #define SDL_RELEASED	0
       
    43 #define SDL_PRESSED	1
    40 
    44 
    41 /* Event enumerations */
    45 /* Event enumerations */
    42 typedef enum {
    46 typedef enum {
    43        SDL_NOEVENT = 0,			/* Unused (do not remove) */
    47        SDL_NOEVENT = 0,			/* Unused (do not remove) */
    44        SDL_ACTIVEEVENT,			/* Application loses/gains visibility */
    48        SDL_ACTIVEEVENT,			/* Application loses/gains visibility */