|
From: Elias N. <eli...@us...> - 2003-09-30 10:52:10
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input In directory sc8-pr-cvs1:/tmp/cvs-serv26555/src/java/org/lwjgl/test/input Modified Files: KeyboardTest.java Log Message: boolean results -> Exceptions Index: KeyboardTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/KeyboardTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/KeyboardTest.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- KeyboardTest.java 23 Aug 2003 09:45:22 -0000 1.13 +++ KeyboardTest.java 30 Sep 2003 10:52:05 -0000 1.14 @@ -107,6 +107,8 @@ private void createKeyboard() { try { Keyboard.create(); + Keyboard.enableBuffer(); + Keyboard.enableTranslation(); } catch (Exception e) { e.printStackTrace(); System.exit(-1); @@ -114,8 +116,6 @@ } private void wiggleKeyboard() { - Keyboard.enableBuffer(); - Keyboard.enableTranslation(); while (!Window.isCloseRequested()) { Window.update(); |