Hi ;D
Actually, there isn’t any anormal output besides the overflow… but here it is:
Scanning jar: dxinput.jar
Examining file : META-INF/
Examining file : META-INF/MANIFEST.MF
Examining file : net/
Examining file : net/java/
Examining file : net/java/games/
Examining file : net/java/games/input/
Examining file : net/java/games/input/DirectInputAxis.class
Examining file : net/java/games/input/DirectInputDevice.class
Examining file : net/java/games/input/DirectInputEnvironmentPlugin.class
Found candidate class: net/java/games/input/DirectInputEnvironmentPlugin.class
Adding class to plugins:net.java.games.input.DirectInputEnvironmentPlugin
Examining file : net/java/games/input/DirectInputKeyboard.class
Examining file : net/java/games/input/DirectInputMouse$BallAxis.class
Examining file : net/java/games/input/DirectInputMouse$BallImpl.class
Examining file : net/java/games/input/DirectInputMouse$ButtonImpl.class
Examining file : net/java/games/input/DirectInputMouse$ButtonsImpl.class
Examining file : net/java/games/input/DirectInputMouse.class
Examining file : net/java/games/input/DirectInputRumbler.class
Creating Psx Gamepad 1 polling = true
DI_BUFFEROVERFLOW
This output comes at the beginning (before crashing), and nothing more appears.
When I said crashes, I meant “freezes”. Does it make any difference?
Polling more often doesn’t seen to solve this problem… The main thread was sleeping only 20 milliseconds. I changed it to 10 e the results was exactly the same. Anyway, 20 millis is fast enought, isn’t it?
To free the buffer what I have to do? Is calling “poll” enough, or I have to call “getPollingData” for every axis?
Thanks 8)