Moved Controller init code later

This commit is contained in:
Elias Naur 2003-08-17 18:48:29 +00:00
parent da4eb5d83e
commit d252143d8b
1 changed files with 5 additions and 5 deletions

View File

@ -56,10 +56,6 @@ import org.lwjgl.Sys;
*/
public class Controller {
static {
initialize();
}
/** Has the controller been created? */
private static boolean created;
@ -136,6 +132,10 @@ public class Controller {
private static String[] buttonName;
private static final Map buttonMap = new HashMap(8);
static {
initialize();
}
/**
* Controller cannot be constructed.
*/
@ -258,4 +258,4 @@ public class Controller {
* Register fields with the native library
*/
private static native void initIDs();
}
}