include/SDL_events.h
changeset 4560 95352c671a6e
parent 4503 524dfefd554c
child 4635 0a07d002f10b
equal deleted inserted replaced
4559:f8c3870af5a2 4560:95352c671a6e
   130 typedef struct SDL_KeyboardEvent
   130 typedef struct SDL_KeyboardEvent
   131 {
   131 {
   132     Uint32 type;        /**< ::SDL_KEYDOWN or ::SDL_KEYUP */
   132     Uint32 type;        /**< ::SDL_KEYDOWN or ::SDL_KEYUP */
   133     Uint32 windowID;    /**< The window with keyboard focus, if any */
   133     Uint32 windowID;    /**< The window with keyboard focus, if any */
   134     Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
   134     Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
   135     Uint8 padding1;
   135     Uint8 repeat;       /**< Non-zero if this is a key repeat */
   136     Uint8 padding2;
   136     Uint8 padding2;
   137     Uint8 padding3;
   137     Uint8 padding3;
   138     SDL_keysym keysym;  /**< The key that was pressed or released */
   138     SDL_keysym keysym;  /**< The key that was pressed or released */
   139 } SDL_KeyboardEvent;
   139 } SDL_KeyboardEvent;
   140 
   140