Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_photon.c @ 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 |
comparison
equal
deleted
inserted
replaced
5082:de59e0218aa2 | 5083:25d4feb7c127 |
---|---|
2486 } | 2486 } |
2487 break; | 2487 break; |
2488 case Ph_EV_KEY: | 2488 case Ph_EV_KEY: |
2489 { | 2489 { |
2490 PhKeyEvent_t *keyevent = NULL; | 2490 PhKeyEvent_t *keyevent = NULL; |
2491 SDL_scancode scancode = SDL_SCANCODE_UNKNOWN; | 2491 SDL_ScanCode scancode = SDL_SCANCODE_UNKNOWN; |
2492 SDL_bool pressed = SDL_FALSE; | 2492 SDL_bool pressed = SDL_FALSE; |
2493 | 2493 |
2494 keyevent = PhGetData(event); | 2494 keyevent = PhGetData(event); |
2495 if (keyevent == NULL) { | 2495 if (keyevent == NULL) { |
2496 break; | 2496 break; |