diff options
Diffstat (limited to 'plugins/awt/src')
5 files changed, 1 insertions, 11 deletions
diff --git a/plugins/awt/src/net/java/games/input/AWTAxis.java b/plugins/awt/src/net/java/games/input/AWTAxis.java index 62b049b..daa2e12 100644 --- a/plugins/awt/src/net/java/games/input/AWTAxis.java +++ b/plugins/awt/src/net/java/games/input/AWTAxis.java @@ -25,8 +25,6 @@ */ package net.java.games.input; -import net.java.games.input.Component.Identifier; - /** * @author Jeremy * diff --git a/plugins/awt/src/net/java/games/input/AWTButton.java b/plugins/awt/src/net/java/games/input/AWTButton.java index 8ccf984..6e36d16 100644 --- a/plugins/awt/src/net/java/games/input/AWTButton.java +++ b/plugins/awt/src/net/java/games/input/AWTButton.java @@ -25,8 +25,6 @@ */ package net.java.games.input; -import net.java.games.input.Component.Identifier; - /** * @author Jeremy * diff --git a/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java b/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java index 8faac5c..a155db5 100644 --- a/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java +++ b/plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java @@ -25,9 +25,6 @@ */ package net.java.games.input; -import java.lang.reflect.Constructor; -import java.lang.reflect.InvocationTargetException; - import net.java.games.input.Controller; import net.java.games.input.ControllerEnvironment; import net.java.games.util.plugins.Plugin; diff --git a/plugins/awt/src/net/java/games/input/AWTKeyboard.java b/plugins/awt/src/net/java/games/input/AWTKeyboard.java index d98c90d..dba9b0e 100644 --- a/plugins/awt/src/net/java/games/input/AWTKeyboard.java +++ b/plugins/awt/src/net/java/games/input/AWTKeyboard.java @@ -30,8 +30,6 @@ import java.awt.Toolkit; import java.awt.event.AWTEventListener; import java.awt.event.KeyEvent; -import net.java.games.input.Keyboard.Key; - /** * @author Jeremy * @@ -50,7 +48,7 @@ public class AWTKeyboard extends StandardKeyboard implements AWTEventListener { protected AWTKeyboard(String name) { super(name); - buttonValues = new boolean[getAxes().length]; + buttonValues = new boolean[getComponents().length]; buttonMap = new int[65535]; //has to be this big, as the values of KeyEvent keys are large buttonMap[KeyEvent.VK_0] = Component.Identifier.Key._0.getKeyIndex(); diff --git a/plugins/awt/src/net/java/games/input/AWTMouse.java b/plugins/awt/src/net/java/games/input/AWTMouse.java index bbae94b..ed76ed6 100644 --- a/plugins/awt/src/net/java/games/input/AWTMouse.java +++ b/plugins/awt/src/net/java/games/input/AWTMouse.java @@ -31,7 +31,6 @@ import java.awt.Point; import java.awt.Toolkit; import java.awt.event.AWTEventListener; import java.awt.event.MouseEvent; -import java.awt.event.MouseMotionAdapter; import java.awt.event.MouseWheelEvent; /** |