diff options
-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(); |