diff options
author | Sven Gothel <[email protected]> | 2012-10-08 01:22:30 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-08 01:22:30 +0200 |
commit | d10dae464ef9309a92eb9b49323fe1db93c3fc9f (patch) | |
tree | b80bd2ef759066c7c23fb2e32b0941432ff5954f /src/newt/classes/jogamp | |
parent | 630d43be7a8cccf28632fc1f7542bb484382d775 (diff) |
Raise NEWT MouseButton Maximum from 6 -> 16 (API Change)
- Button 9 has been reported to be sent by Olamedia
- Rearrange the input bit mask in InputEvent (API Change)
- Raise the max. button number to 16
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java b/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java index 92f174e39..c21cb4b40 100644 --- a/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java +++ b/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java @@ -51,9 +51,9 @@ import com.jogamp.newt.event.MouseEvent; public class WindowDriver extends WindowImpl { private static final String WINDOW_CLASS_NAME = "NewtWindow"; - private static final int X11_WHEEL_ONE_UP_BUTTON = 4; + private static final int X11_WHEEL_ONE_UP_BUTTON = 4; private static final int X11_WHEEL_ONE_DOWN_BUTTON = 5; - private static final int X11_WHEEL_TWO_UP_BUTTON = 6; + private static final int X11_WHEEL_TWO_UP_BUTTON = 6; private static final int X11_WHEEL_TWO_DOWN_BUTTON = 7; static { |