From 75d58f714d7eca9fdcdf306a08c9308f08b1c64f Mon Sep 17 00:00:00 2001 From: endolf Date: Wed, 15 Jun 2005 09:09:09 +0000 Subject: 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 --- plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/DX8/src') 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(); -- cgit v1.2.3