diff options
author | Simon Howard | 2007-03-09 12:35:18 +0000 |
---|---|---|
committer | Simon Howard | 2007-03-09 12:35:18 +0000 |
commit | c5a4f04bc21825a0bdd59bef804229389a7a4ce1 (patch) | |
tree | bbdf0d16c1aa5e468698f0b202175bf7b32ccb83 /textscreen/txt_main.h | |
parent | cebecf16cc349650bf2a9b20f24b2eac6372e07b (diff) | |
download | chocolate-doom-c5a4f04bc21825a0bdd59bef804229389a7a4ce1.tar.gz chocolate-doom-c5a4f04bc21825a0bdd59bef804229389a7a4ce1.tar.bz2 chocolate-doom-c5a4f04bc21825a0bdd59bef804229389a7a4ce1.zip |
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
Diffstat (limited to 'textscreen/txt_main.h')
-rw-r--r-- | textscreen/txt_main.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |