gen-sdl-keymap.pl no longer generating sdl_keymap.h

This commit is contained in:
Josh Holtrop 2010-12-19 00:11:39 -05:00
parent dc6994fcbf
commit 49ee9b12b4
2 changed files with 7 additions and 12 deletions

View File

@ -41,18 +41,6 @@ EOP
} }
print $output " \"last\"\n};\n"; print $output " \"last\"\n};\n";
close($output); close($output);
open(my $output_h, '>', 'sdl_keymap.h');
print $output_h <<EOP;
#ifndef SDL_KEYMAP_H
#define SDL_KEYMAP_H
extern char * sdl_keymap[SDLK_LAST+1];
#endif
EOP
close($output_h);
} }
exit(0); exit(0);

7
sdl_keymap.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef SDL_KEYMAP_H
#define SDL_KEYMAP_H
extern char * sdl_keymap[SDLK_LAST+1];
#endif