aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendolf <[email protected]>2003-10-03 21:42:48 +0000
committerendolf <[email protected]>2003-10-03 21:42:48 +0000
commit4df98a96d7d1ecdb7b0ba293901cd43d8d98cfa6 (patch)
treec55f46a8db5f74546b868f64fc5556505a9ee341
parent5a531fc432cb69e2b3f37421b3df5394b65efca2 (diff)
I had done the mouse axis as normalised to match the windows
version, as I am about to commit changes to fix that version, I have sitch over the workings of this one too git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@51 e343933a-64c8-49c5-92b1-88f2ce3e89e8
-rw-r--r--plugins/linux/src/java/net/java/games/input/LinuxDevice.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/linux/src/java/net/java/games/input/LinuxDevice.java b/plugins/linux/src/java/net/java/games/input/LinuxDevice.java
index 9ca6016..059255a 100644
--- a/plugins/linux/src/java/net/java/games/input/LinuxDevice.java
+++ b/plugins/linux/src/java/net/java/games/input/LinuxDevice.java
@@ -459,10 +459,10 @@ public class LinuxDevice extends AbstractController {
String name = LinuxNativeTypesMap.getRelAxisName(nativeType);
// This is done to be like the windows version
- return new LinuxAxis(this, axisNumber, name, id, 0, true, true, 0, 0);
+ // return new LinuxAxis(this, axisNumber, name, id, 0, true, true, 0, 0);
- //this is what should be done
- // return new LinuxAxis(this, axisNumber, name, id, 0, true, false, true);
+ // this is what should be done
+ return new LinuxAxis(this, axisNumber, name, id, 0, true, false, true);
}
/** Create an absolute axis for the device