summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendolf <[email protected]>2005-06-15 09:09:09 +0000
committerendolf <[email protected]>2005-06-15 09:09:09 +0000
commit75d58f714d7eca9fdcdf306a08c9308f08b1c64f (patch)
tree60e8b2d215f0e7942325aae7eeca4ca1b7b26d77
parent108d97ac40183478384f8a92f3306e94f644b0cf (diff)
Guess who found the device that pops the buffer size?, was getting an array out of bounds.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@95 e343933a-64c8-49c5-92b1-88f2ce3e89e8
-rw-r--r--plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java b/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java
index 849a5f1..e8f500b 100644
--- a/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java
+++ b/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java
@@ -84,7 +84,7 @@ class DirectInputDevice extends AbstractController {
* Data when polling, as per the DIJOYSTATE structure in dinput.h;
* @see DirectInputAxis for a breakdown of this structure
*/
- int[] data = new int[32];
+ int[] data = new int[38];
/** Array list of rumblers */
private ArrayList rumblerList = new ArrayList();