gen-sdl-keymap.pl no longer generating sdl_keymap.h
This commit is contained in:
parent
dc6994fcbf
commit
49ee9b12b4
@ -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
7
sdl_keymap.h
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
#ifndef SDL_KEYMAP_H
|
||||||
|
#define SDL_KEYMAP_H
|
||||||
|
|
||||||
|
extern char * sdl_keymap[SDLK_LAST+1];
|
||||||
|
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user