aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorelias <[email protected]>2006-11-12 18:36:17 +0000
committerelias <[email protected]>2006-11-12 18:36:17 +0000
commit224a61f20e5ca46cb2f777036673690fec376cda (patch)
tree5e75323680802bda71333deb29b0ee93a979e20a /plugins
parent50cad8f7813c1748152e086d9083ce6b5280b790 (diff)
Mac OS X: Added support for mouse scroll wheel
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@173 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OSX/src/java/net/java/games/input/GenericDesktopUsage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OSX/src/java/net/java/games/input/GenericDesktopUsage.java b/plugins/OSX/src/java/net/java/games/input/GenericDesktopUsage.java
index 9b6d48b..4c45fa4 100644
--- a/plugins/OSX/src/java/net/java/games/input/GenericDesktopUsage.java
+++ b/plugins/OSX/src/java/net/java/games/input/GenericDesktopUsage.java
@@ -121,7 +121,7 @@ final class GenericDesktopUsage implements Usage {
return Component.Identifier.Axis.X;
} else if (this == GenericDesktopUsage.Y) {
return Component.Identifier.Axis.Y;
- } else if (this == GenericDesktopUsage.Z) {
+ } else if (this == GenericDesktopUsage.Z || this == GenericDesktopUsage.WHEEL) {
return Component.Identifier.Axis.Z;
} else if (this == GenericDesktopUsage.RX) {
return Component.Identifier.Axis.RX;