Mac OS X: Added support for mouse scroll wheel

This commit is contained in:
elias 2006-11-12 18:36:17 +00:00
parent 58a0518a42
commit 43b4dab801

View file

@ -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;