diff options
Diffstat (limited to 'coreAPI/src')
4 files changed, 7 insertions, 2 deletions
diff --git a/coreAPI/src/java/net/java/games/input/test/ControllerEventTest.java b/coreAPI/src/java/net/java/games/input/test/ControllerEventTest.java index 77330e7..366e072 100644 --- a/coreAPI/src/java/net/java/games/input/test/ControllerEventTest.java +++ b/coreAPI/src/java/net/java/games/input/test/ControllerEventTest.java @@ -52,6 +52,7 @@ import net.java.games.input.Controller; import net.java.games.input.ControllerEnvironment; import net.java.games.input.EventQueue; import net.java.games.input.Event; +import net.java.games.input.Version; public class ControllerEventTest extends JFrame{ private static abstract class AxisPanel extends JPanel{ @@ -243,7 +244,7 @@ public class ControllerEventTest extends JFrame{ List controllers = new ArrayList(); public ControllerEventTest() { - super("Controller Event Test"); + super("Controller Event Test. Version: " + Version.getVersion()); ControllerEnvironment ce = ControllerEnvironment.getDefaultEnvironment(); Controller[] ca = ce.getControllers(); for(int i =0;i<ca.length;i++){ diff --git a/coreAPI/src/java/net/java/games/input/test/ControllerReadTest.java b/coreAPI/src/java/net/java/games/input/test/ControllerReadTest.java index ac295b1..f1ccab6 100644 --- a/coreAPI/src/java/net/java/games/input/test/ControllerReadTest.java +++ b/coreAPI/src/java/net/java/games/input/test/ControllerReadTest.java @@ -53,6 +53,7 @@ import javax.swing.JScrollPane; import net.java.games.input.Component; import net.java.games.input.Controller; import net.java.games.input.ControllerEnvironment; +import net.java.games.input.Version; public class ControllerReadTest extends JFrame{ private abstract static class AxisPanel extends JPanel{ @@ -247,7 +248,7 @@ public class ControllerReadTest extends JFrame{ List controllers = new ArrayList(); public ControllerReadTest() { - super("Controller Read Test"); + super("Controller Read Test. Version: " + Version.getVersion()); ControllerEnvironment ce = ControllerEnvironment.getDefaultEnvironment(); Controller[] ca = ce.getControllers(); for(int i =0;i<ca.length;i++){ diff --git a/coreAPI/src/java/net/java/games/input/test/ControllerTextTest.java b/coreAPI/src/java/net/java/games/input/test/ControllerTextTest.java index 64aa8b9..3366d43 100644 --- a/coreAPI/src/java/net/java/games/input/test/ControllerTextTest.java +++ b/coreAPI/src/java/net/java/games/input/test/ControllerTextTest.java @@ -48,6 +48,7 @@ public class ControllerTextTest { /** Creates a new instance of ControllerScanner */ public ControllerTextTest() { ce = ControllerEnvironment.getDefaultEnvironment(); + System.out.println("JInput version: " + Version.getVersion()); System.out.println("Controller Env = "+ce.toString()); diff --git a/coreAPI/src/java/net/java/games/input/test/RumbleTest.java b/coreAPI/src/java/net/java/games/input/test/RumbleTest.java index 45e1792..a493462 100644 --- a/coreAPI/src/java/net/java/games/input/test/RumbleTest.java +++ b/coreAPI/src/java/net/java/games/input/test/RumbleTest.java @@ -8,6 +8,7 @@ package net.java.games.input.test; import net.java.games.input.ControllerEnvironment; import net.java.games.input.Controller; import net.java.games.input.Rumbler; +import net.java.games.input.Version; /** * @@ -18,6 +19,7 @@ public class RumbleTest { /** Creates a new instance of RumbleTest */ public RumbleTest() { ControllerEnvironment ca = ControllerEnvironment.getDefaultEnvironment(); + System.out.println("JInput version: " + Version.getVersion()); Controller[] controllers = ca.getControllers(); for(int i=0;i<controllers.length;i++) { System.out.println("Scanning " + controllers[i].getName()); |