raze-gles/source/tools/src/makesdlkeytrans.cpp
2017-02-25 08:15:36 +00:00

24 lines
416 B
C++

// gcc b.c -Lc:/mingw32/lib -lmingw32 -lSDLmain -lSDL
#include "compat.h"
#include "sdl_inc.h"
#include "sdlkeytrans.cpp"
#undef main
int main(void)
{
unsigned int i;
buildkeytranslationtable();
for (i = 0; i < sizeof(keytranslation); i++) {
if (i>0) printf(", ");
if (i%8 == 7) printf("\n");
printf("%d", keytranslation[i]);
}
return 0;
}