From 85c8aad37e1cf9a6046d8d51c6f4945f37660e2b Mon Sep 17 00:00:00 2001 From: endolf Date: Thu, 25 May 2006 12:40:27 +0000 Subject: 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 --- coreAPI/src/java/net/java/games/input/Component.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'coreAPI/src') 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 { -- cgit v1.2.3