aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/windows/src/java/net/java/games/input/IDirectInputDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/windows/src/java/net/java/games/input/IDirectInputDevice.java b/plugins/windows/src/java/net/java/games/input/IDirectInputDevice.java
index 2e3e22f..5f05732 100644
--- a/plugins/windows/src/java/net/java/games/input/IDirectInputDevice.java
+++ b/plugins/windows/src/java/net/java/games/input/IDirectInputDevice.java
@@ -472,7 +472,7 @@ final class IDirectInputDevice {
case IDirectInputDevice.GUID_Button:
return getNextButtonIdentifier();
default:
- return null;
+ return Component.Identifier.Axis.UNKNOWN;
}
}