aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/awt/src/net
diff options
context:
space:
mode:
authorendolf <[email protected]>2004-08-29 21:23:06 +0000
committerendolf <[email protected]>2004-08-29 21:23:06 +0000
commit48d90dc92ba7be418b983bbd523e1fd8c33fa25f (patch)
tree55230e67cf5833c4e5ed50d468c5762aba53382b /plugins/awt/src/net
parentbc06262ce753ef2dab7ca080aff770730146b7ce (diff)
Changes for Axis.Identifier changes. This includes renaming Axis to Component, and creating the Identifier objects for Key Axis and Button.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@85 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins/awt/src/net')
-rw-r--r--plugins/awt/src/net/java/games/input/AWTAxis.java2
-rw-r--r--plugins/awt/src/net/java/games/input/AWTButton.java2
-rw-r--r--plugins/awt/src/net/java/games/input/AWTEnvironmentPlugin.java3
-rw-r--r--plugins/awt/src/net/java/games/input/AWTKeyboard.java4
-rw-r--r--plugins/awt/src/net/java/games/input/AWTMouse.java1
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;
/**