aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;