port-specific debug-mode command
Provide a way to have a port-specific debug-mode commands if PORT_DEBUG is defined at build time. Add a win32 keystroke checking routine to assist debugging of international keyboards. Fix a problem with the way NetHack was handling international keyboards by letting ToAscii() come up with an input character based on the virtual key, and the shift and caps lock state.
This commit is contained in:
@@ -55,6 +55,10 @@
|
||||
|
||||
#define PORT_HELP "porthelp"
|
||||
|
||||
#ifdef WIN32CON
|
||||
#define PORT_DEBUG /* include ability to debug international keyboard issues */
|
||||
#endif
|
||||
|
||||
/* The following is needed for prototypes of certain functions */
|
||||
#if defined(_MSC_VER)
|
||||
#include <process.h> /* Provides prototypes of exit(), spawn() */
|
||||
|
||||
Reference in New Issue
Block a user