comparison include/SDL_events.h @ 5083:25d4feb7c127

Renamed SDL_keysym to SDL_KeySym Renamed SDL_scancode to SDL_ScanCode Added #defines to SDL_compat.h
author krogoway
date Mon, 24 Jan 2011 13:47:35 -0600
parents 22751715e11a
children 3052772b59db
comparison
equal deleted inserted replaced
5082:de59e0218aa2 5083:25d4feb7c127
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.*)