aboutsummaryrefslogtreecommitdiffstats
path: root/coreAPI/src
diff options
context:
space:
mode:
authorendolf <[email protected]>2006-05-25 12:40:27 +0000
committerendolf <[email protected]>2006-05-25 12:40:27 +0000
commit85c8aad37e1cf9a6046d8d51c6f4945f37660e2b (patch)
tree3e0b8906ae70d902ee7d4ecd7b08ef8cf5f818d4 /coreAPI/src
parent0815136a5f054f0da0343d46e85982a60bfa0b18 (diff)
Add an axis identifier for unknown axis types and get directx to use it
if it doesn't recognise an axis on construction. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@141 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'coreAPI/src')
-rw-r--r--coreAPI/src/java/net/java/games/input/Component.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/coreAPI/src/java/net/java/games/input/Component.java b/coreAPI/src/java/net/java/games/input/Component.java
index f3f9c9a..55de7f9 100644
--- a/coreAPI/src/java/net/java/games/input/Component.java
+++ b/coreAPI/src/java/net/java/games/input/Component.java
@@ -273,6 +273,11 @@ public interface Component {
*/
public static final Axis POV = new Axis("pov");
+ /**
+ * An unknown axis.
+ */
+ public static final Axis UNKNOWN = new Axis("unknown");
+
}
public static class Button extends Identifier {