From c5a4f04bc21825a0bdd59bef804229389a7a4ce1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 9 Mar 2007 12:35:18 +0000 Subject: Fix discrepancy between Doom and setup program when prompting for keys. Add the ability to enable/disable key mappings so that the raw key can be read in setup, exactly the same way that it is in Doom. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 846 --- textscreen/txt_main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'textscreen/txt_main.h') diff --git a/textscreen/txt_main.h b/textscreen/txt_main.h index 49986faf..b693bce0 100644 --- a/textscreen/txt_main.h +++ b/textscreen/txt_main.h @@ -104,5 +104,10 @@ void TXT_GetMousePosition(int *x, int *y); void TXT_Sleep(int timeout); +// Controls whether keys are returned from TXT_GetChar based on keyboard +// mapping, or raw key code. + +void TXT_EnableKeyMapping(int enable); + #endif /* #ifndef TXT_MAIN_H */ -- cgit v1.2.3