Moved Controller init code later
This commit is contained in:
parent
da4eb5d83e
commit
d252143d8b
|
@ -56,10 +56,6 @@ import org.lwjgl.Sys;
|
||||||
*/
|
*/
|
||||||
public class Controller {
|
public class Controller {
|
||||||
|
|
||||||
static {
|
|
||||||
initialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Has the controller been created? */
|
/** Has the controller been created? */
|
||||||
private static boolean created;
|
private static boolean created;
|
||||||
|
|
||||||
|
@ -136,6 +132,10 @@ public class Controller {
|
||||||
private static String[] buttonName;
|
private static String[] buttonName;
|
||||||
private static final Map buttonMap = new HashMap(8);
|
private static final Map buttonMap = new HashMap(8);
|
||||||
|
|
||||||
|
static {
|
||||||
|
initialize();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller cannot be constructed.
|
* Controller cannot be constructed.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue