Mercurial > sdl-ios-xcode
diff src/video/bwindow/SDL_BWin.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 | 67acc9ab60ff |
children | 572a73d71b5f |
line wrap: on
line diff
--- a/src/video/bwindow/SDL_BWin.h Sun Jan 23 21:55:04 2011 -0800 +++ b/src/video/bwindow/SDL_BWin.h Mon Jan 24 13:47:35 2011 -0600 @@ -509,7 +509,7 @@ if (msg->FindInt32("key", &key) == B_OK && msg->FindInt32("modifiers", &modifiers) == B_OK) { - SDL_keysym keysym; + SDL_KeySym keysym; keysym.scancode = key; if ((key > 0) && (key < 128)) { keysym.sym = keymap[key]; @@ -543,7 +543,7 @@ int32 modifiers; if (msg->FindInt32("key", &key) == B_OK && msg->FindInt32("modifiers", &modifiers) == B_OK) { - SDL_keysym keysym; + SDL_KeySym keysym; keysym.scancode = key; if ((key > 0) && (key < 128)) { keysym.sym = keymap[key];