aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-awt/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'ardor3d-awt/src/main/java/com')
-rw-r--r--ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseWrapper.java19
1 files changed, 18 insertions, 1 deletions
diff --git a/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseWrapper.java b/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseWrapper.java
index fac2cba..fac2ec3 100644
--- a/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseWrapper.java
+++ b/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseWrapper.java
@@ -3,7 +3,7 @@
*
* This file is part of Ardor3D.
*
- * Ardor3D is free software: you can redistribute it and/or modify it
+ * Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <http://www.ardor3d.com/LICENSE>.
*/
@@ -276,6 +276,23 @@ public class AwtMouseWrapper implements MouseWrapper, MouseListener, MouseWheelL
break;
case MouseEvent.BUTTON3:
button = MouseButton.RIGHT;
+ case 4:
+ button = MouseButton.FOUR;
+ break;
+ case 5:
+ button = MouseButton.FIVE;
+ break;
+ case 6:
+ button = MouseButton.SIX;
+ break;
+ case 7:
+ button = MouseButton.SEVEN;
+ break;
+ case 8:
+ button = MouseButton.EIGHT;
+ break;
+ case 9:
+ button = MouseButton.NINE;
break;
default:
throw new RuntimeException("unknown button: " + e.getButton());