include/SDL_events.h
changeset 5218 572a73d71b5f
parent 5146 3052772b59db
child 5262 b530ef003506
equal deleted inserted replaced
5217:9c0593fa27d6 5218:572a73d71b5f
   149     Uint32 windowID;    /**< The window with keyboard focus, if any */
   149     Uint32 windowID;    /**< The window with keyboard focus, if any */
   150     Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
   150     Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
   151     Uint8 repeat;       /**< Non-zero if this is a key repeat */
   151     Uint8 repeat;       /**< Non-zero if this is a key repeat */
   152     Uint8 padding2;
   152     Uint8 padding2;
   153     Uint8 padding3;
   153     Uint8 padding3;
   154     SDL_KeySym keysym;  /**< The key that was pressed or released */
   154     SDL_Keysym keysym;  /**< The key that was pressed or released */
   155 } SDL_KeyboardEvent;
   155 } SDL_KeyboardEvent;
   156 
   156 
   157 #define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32)
   157 #define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32)
   158 /**
   158 /**
   159  *  \brief Keyboard text editing event structure (event.edit.*)
   159  *  \brief Keyboard text editing event structure (event.edit.*)