mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 09:05:03 +00:00
2db54798d7
I am not replacing the following header files used by the Windows build, as I don't have a Windows build setup to test. Please point the Windows build at the header files inside these clean distribution packages and garbage collect the duplicates: GLew/*.h and SDL/Include_1.2. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5711 8ced0084-cf51-0410-be5f-012b33b47a6e
26 lines
472 B
C
26 lines
472 B
C
|
|
/* Print out all the keysyms we have, just to verify them */
|
|
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include "SDL.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
SDLKey key;
|
|
|
|
if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
|
|
fprintf(stderr, "Couldn't initialize SDL: %s\n",
|
|
SDL_GetError());
|
|
exit(1);
|
|
}
|
|
for ( key=SDLK_FIRST; key<SDLK_LAST; ++key ) {
|
|
printf("Key #%d, \"%s\"\n", key, SDL_GetKeyName(key));
|
|
}
|
|
SDL_Quit();
|
|
return(0);
|
|
}
|