From: Carsten W. <ca...@us...> - 2006-10-26 22:03:02
|
Update of /cvsroot/jake2/jake2/src/jake2/sys In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv3095/src/jake2/sys Modified Files: LWJGLKBD.java Log Message: switch to lwjgl 1.0beta3 (sound and gfx tested on MacBook Pro) Index: LWJGLKBD.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sys/LWJGLKBD.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** LWJGLKBD.java 1 Jul 2005 14:20:54 -0000 1.10 --- LWJGLKBD.java 26 Oct 2006 22:02:56 -0000 1.11 *************** *** 26,34 **** if (!Keyboard.isCreated()) Keyboard.create(); if (!Mouse.isCreated()) Mouse.create(); ! ! if (!Keyboard.isBuffered()) Keyboard.enableBuffer(); ! if (!Keyboard.isTranslationEnabled()) Keyboard.enableTranslation(); ! if (!Mouse.isBuffered()) Mouse.enableBuffer(); ! if (lwjglKeycodeMap == null) lwjglKeycodeMap = new char[256]; if (pressed == null) pressed = new int[256]; --- 26,30 ---- if (!Keyboard.isCreated()) Keyboard.create(); if (!Mouse.isCreated()) Mouse.create(); ! if (lwjglKeycodeMap == null) lwjglKeycodeMap = new char[256]; if (pressed == null) pressed = new int[256]; |