comparison src/events/SDL_keyboard.c @ 2990:502adab079a4

indent
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2009 17:14:27 +0000
parents aba5a5cc2e63
children 88861448961f dc1eb82ffdaa
comparison
equal deleted inserted replaced
2989:aba5a5cc2e63 2990:502adab079a4
973 SDL_GetScancodeName((SDL_scancode) (key & ~SDLK_SCANCODE_MASK)); 973 SDL_GetScancodeName((SDL_scancode) (key & ~SDLK_SCANCODE_MASK));
974 } 974 }
975 975
976 switch (key) { 976 switch (key) {
977 case SDLK_RETURN: 977 case SDLK_RETURN:
978 return SDL_GetScancodeName(SDL_SCANCODE_RETURN); 978 return SDL_GetScancodeName(SDL_SCANCODE_RETURN);
979 case SDLK_ESCAPE: 979 case SDLK_ESCAPE:
980 return SDL_GetScancodeName(SDL_SCANCODE_ESCAPE); 980 return SDL_GetScancodeName(SDL_SCANCODE_ESCAPE);
981 case SDLK_BACKSPACE: 981 case SDLK_BACKSPACE:
982 return SDL_GetScancodeName(SDL_SCANCODE_BACKSPACE); 982 return SDL_GetScancodeName(SDL_SCANCODE_BACKSPACE);
983 case SDLK_TAB: 983 case SDLK_TAB:
984 return SDL_GetScancodeName(SDL_SCANCODE_TAB); 984 return SDL_GetScancodeName(SDL_SCANCODE_TAB);
985 case SDLK_SPACE: 985 case SDLK_SPACE:
986 return SDL_GetScancodeName(SDL_SCANCODE_SPACE); 986 return SDL_GetScancodeName(SDL_SCANCODE_SPACE);
987 case SDLK_DELETE: 987 case SDLK_DELETE:
988 return SDL_GetScancodeName(SDL_SCANCODE_DELETE); 988 return SDL_GetScancodeName(SDL_SCANCODE_DELETE);
989 default: 989 default:
990 /* Unaccented letter keys on latin keyboards are normally 990 /* Unaccented letter keys on latin keyboards are normally
991 labeled in upper case (and probably on others like Greek or 991 labeled in upper case (and probably on others like Greek or
992 Cyrillic too, so if you happen to know for sure, please 992 Cyrillic too, so if you happen to know for sure, please
993 adapt this). */ 993 adapt this). */