* Revert 'Handle dead keys more gracefully by taking a "best guess" rather than
ignoring completely' from r1459; it can't ever work acceptably, especially on azerty/qwertz layouts * Make the ordering of the output from in_keyboardDebug more sensible * Add cl_consoleKeys cvar, a space delimited list of key names or characters that toggle the console
This commit is contained in:
1 parent
f1faa1d12a
commit
c0328ab4f6
6 files changed
+122
-56
No files matched your search
@@ -1172,7 +1172,7 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
|
||||
}
|
||||
|
||||
// console key is hardcoded, so the user can never unbind it
|
||||
if (key == '`' || key == '~' ||
|
||||
if (key == K_CONSOLE ||
|
||||
( key == K_ESCAPE && keys[K_SHIFT].down ) ) {
|
||||
if (!down) {
|
||||
return;
|
||||
@@ -1315,11 +1315,6 @@ Normal keyboard characters, already shifted / capslocked / etc
|
||||
===================
|
||||
*/
|
||||
void CL_CharEvent( int key ) {
|
||||
// the console key should never be used as a char
|
||||
if ( key == '`' || key == '~' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// delete is not a printable character and is
|
||||
// otherwise handled by Field_KeyDownEvent
|
||||
if ( key == 127 ) {
|
||||
|
||||
Reference in new issue
Block a user