Yeah, I was referring to other rumbler hardware on the PC, I don't care what works on the xbox, thats not running JInput. As cylab says, I want to rule out driver issues, as the rumbler stuff seems to work elsewhere. Did you check the size of the array before using rumblers[0]?, I'm guessing not. That would solve the AIOB exception.
Endolf
It looks like JInput doesn't pick up any rumblers with the 360 pad:
1 2 3 4 5 6 7 8 9 10
| C:\Temp\>java -Djava.library.path=. -cp jinput.jar;jinput-test.jar net.java.games.input.test.RumbleTest Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin Scanning Standard 101/102-Key or Microsoft Natural PS/2 Keyboard Found 0 rumblers Scanning Microsoft USB Comfort Optical Mouse 3000 (IntelliPoint) Found 0 rumblers Scanning Microsoft Optical Mouse with Tilt Wheel Found 0 rumblers Scanning Controller (Xbox 360 Wireless Receiver for Windows) Found 0 rumblers |
However I'm not sure if that's a JInput restriction or a 360 pad driver restriction - there doesn't seem to be an option to test the rumble in the control panel, but some googling suggests some windows games support it.