comparison test/testkeys.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 1a8bab15a45d
children 572a73d71b5f
comparison
equal deleted inserted replaced
5082:de59e0218aa2 5083:25d4feb7c127
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 }