raze-gles/source/tools/src/makesdlkeytrans.cpp

25 lines
416 B
C++
Raw Normal View History

// 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;
}