diff options
author | endolf <[email protected]> | 2011-03-25 23:09:25 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2011-03-25 23:09:25 +0000 |
commit | 76d4a7074a63dcf6c9de69dbce7eb8c6f1d2c676 (patch) | |
tree | 0d339087ce866a0acb097e6d6ca56796446905b6 /coreAPI/src | |
parent | bda4b67c0dd117d87c0ba93808afc7b63c84e22b (diff) |
Put the JInput version out on the tests
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@246 e343933a-64c8-49c5-92b1-88f2ce3e89e8
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()); |