Make Sys_GetScanTable() only available on Windows

Sys_GetScanTable() and MapKey() are only used by the Windows backend
or the Windows-only tools.
Rename to Win_GetScanTable() and move MapKey() as Win_MapKey() to
win_input.cpp.
This commit is contained in:
dhewg 2011-12-29 22:25:41 +01:00 committed by Daniel Gibson
parent 3c5c70eba2
commit 7dd30d9db6

View file

@ -205,7 +205,6 @@ char *Sys_ConsoleInput( void );
void Sys_InitInput( void ); void Sys_InitInput( void );
void Sys_ShutdownInput( void ); void Sys_ShutdownInput( void );
void Sys_InitScanTable( void ); void Sys_InitScanTable( void );
const unsigned char *Sys_GetScanTable( void );
unsigned char Sys_GetConsoleKey( bool shifted ); unsigned char Sys_GetConsoleKey( bool shifted );
// map a scancode key to a char // map a scancode key to a char
// does nothing on win32, as SE_KEY == SE_CHAR there // does nothing on win32, as SE_KEY == SE_CHAR there