aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/JoglRenderer.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-12-14 00:11:10 +0000
committerHolger Zickner <[email protected]>2004-12-14 00:11:10 +0000
commitcadbb63200c0b4634ca2c323c1b8310ed64b90ab (patch)
tree080b0abe7f10ab75dfedab4f8f8cd078e3770e2f /src/jake2/render/JoglRenderer.java
parenta762a826574cb72f19ccbe1870688ff1b6010b77 (diff)
merge LWJGL input system changes
Diffstat (limited to 'src/jake2/render/JoglRenderer.java')
-rw-r--r--src/jake2/render/JoglRenderer.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/jake2/render/JoglRenderer.java b/src/jake2/render/JoglRenderer.java
index 4aa619d..f381879 100644
--- a/src/jake2/render/JoglRenderer.java
+++ b/src/jake2/render/JoglRenderer.java
@@ -2,7 +2,7 @@
* JoglRenderer.java
* Copyright (C) 2003
*
- * $Id: JoglRenderer.java,v 1.5 2004-07-16 10:11:34 cawe Exp $
+ * $Id: JoglRenderer.java,v 1.6 2004-12-14 00:11:03 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -26,9 +26,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package jake2.render;
import jake2.Defines;
-import jake2.client.*;
+import jake2.client.refdef_t;
+import jake2.client.refexport_t;
import jake2.qcommon.xcommand_t;
import jake2.render.jogl.Misc;
+import jake2.sys.JOGLKBD;
+import jake2.sys.KBD;
import java.awt.Dimension;
@@ -39,6 +42,8 @@ import java.awt.Dimension;
*/
final class JoglRenderer extends Misc implements refexport_t, Ref {
+ private JOGLKBD kbd=new JOGLKBD();
+
public static final String DRIVER_NAME = "jogl";
static {
@@ -301,4 +306,9 @@ final class JoglRenderer extends Misc implements refexport_t, Ref {
public refexport_t GetRefAPI() {
return this;
}
+
+ public KBD getKeyboardHandler()
+ {
+ return kbd;
+ }
} \ No newline at end of file