Mercurial > sdl-ios-xcode
comparison test/testkeys.c @ 5281:15a71bec4a55
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 12 Feb 2011 19:16:09 -0800 |
parents | 572a73d71b5f |
children |
comparison
equal
deleted
inserted
replaced
5219:adfcdd311ae0 | 5281:15a71bec4a55 |
---|---|
9 #include "SDL.h" | 9 #include "SDL.h" |
10 | 10 |
11 int | 11 int |
12 main(int argc, char *argv[]) | 12 main(int argc, char *argv[]) |
13 { | 13 { |
14 SDL_ScanCode scancode; | 14 SDL_Scancode scancode; |
15 | 15 |
16 if (SDL_Init(SDL_INIT_VIDEO) < 0) { | 16 if (SDL_Init(SDL_INIT_VIDEO) < 0) { |
17 fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError()); | 17 fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError()); |
18 exit(1); | 18 exit(1); |
19 } | 19 } |