Mercurial > sdl-ios-xcode
diff src/video/bwindow/SDL_BWin.h @ 5281:15a71bec4a55
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 12 Feb 2011 19:16:09 -0800 |
parents | b530ef003506 |
children |
line wrap: on
line diff
--- a/src/video/bwindow/SDL_BWin.h Sun Feb 06 23:48:31 2011 -0800 +++ b/src/video/bwindow/SDL_BWin.h Sat Feb 12 19:16:09 2011 -0800 @@ -1,6 +1,6 @@ /* SDL - Simple DirectMedia Layer - Copyright (C) 1997-2010 Sam Lantinga + Copyright (C) 1997-2011 Sam Lantinga This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -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]; @@ -586,7 +586,7 @@ bool inhibit_resize; int32 last_buttons; - SDLKey keymap[128]; + SDL_Keycode keymap[128]; }; #endif /* _SDL_BWin_h */