test/testkeys.c
changeset 5218 572a73d71b5f
parent 5081 25d4feb7c127
child 5535 96594ac5fd1a
equal deleted inserted replaced
5217:9c0593fa27d6 5218:572a73d71b5f
     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     }