diff options
author | Carsten Weisse <[email protected]> | 2004-10-31 13:56:17 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2004-10-31 13:56:17 +0000 |
commit | b6b7fb8b48e7cd771a84682344e3cd6d44a22092 (patch) | |
tree | 1d2a3568b0b1f5fbcfdffbf17ff4c34c1a16917c /src/jake2/sys | |
parent | 5b6e91844b2c582cb99644301e63935e81efa15f (diff) |
bugfix for toggle console on Win32 (US and DE keyboard)
Diffstat (limited to 'src/jake2/sys')
-rw-r--r-- | src/jake2/sys/KBD.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/jake2/sys/KBD.java b/src/jake2/sys/KBD.java index ab8ea1a..ab9d062 100644 --- a/src/jake2/sys/KBD.java +++ b/src/jake2/sys/KBD.java @@ -2,7 +2,7 @@ * KBD.java * Copyright (C) 2004 * - * $Id: KBD.java,v 1.2 2004-10-28 18:25:53 cawe Exp $ + * $Id: KBD.java,v 1.3 2004-10-31 13:56:17 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -195,7 +195,10 @@ public final class KBD { // 00700 case XK_KP_Begin: key = K_KP_5; break; // 00701 case KeyEvent.VK_INSERT: key = Key.K_INS; break; - case KeyEvent.VK_CIRCUMFLEX: key = '~'; break; + // toggle console for DE and US keyboards + case KeyEvent.VK_DEAD_ACUTE: + case KeyEvent.VK_CIRCUMFLEX: + case KeyEvent.VK_DEAD_CIRCUMFLEX: key = '`'; break; default: key = ev.getKeyChar(); |