Mercurial > sdl-ios-xcode
diff src/video/uikit/keyinfotable.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 | f7b03b6838cb |
children | b915b3181cc2 |
line wrap: on
line diff
--- a/src/video/uikit/keyinfotable.h Sun Jan 23 21:55:04 2011 -0800 +++ b/src/video/uikit/keyinfotable.h Mon Jan 24 13:47:35 2011 -0600 @@ -27,14 +27,14 @@ /* This file is used by the keyboard code in SDL_uikitview.m to convert between characters - passed in from the iPhone's virtual keyboard, and tuples of SDL_scancodes and SDL_keymods. + passed in from the iPhone's virtual keyboard, and tuples of SDL_ScanCodes and SDL_keymods. For example unicharToUIKeyInfoTable['a'] would give you the scan code and keymod for lower case a. */ typedef struct { - SDL_scancode code; + SDL_ScanCode code; Uint16 mod; } UIKitKeyInfo;