Mac OSX: turn debug off?

Hi,

I apologize for being a pain, but the debug output on the OSX Jinput is killing me. I know its partly my Ide (Jbuilder), but there are so many polling messages that it causes JBuilder to lock up on me while it does some buffer footwork.

I looked through the forums and probably missed it, but if anyone has information on what to modify and recompile, I would give it a try and share it. I had read that it wasn’t the java code of JInput doing the output, but the system specific code, and that is where I am weakest.

When I looked through the downloads section, I didn’t see OSX source. Of couse I am confuzzled and probably looking like an ass. Any help is greatly appreciatted and thanks to Endolf and everyone for the work on this project.

I did see somewhere that it could be turned off by setting a switch and rebuilding the source - you’re right - it’s a killer - doesn’t crash eclipse, but makes the existence of my own log messages pretty pointless. Is there a reason the debug can’t be controlled from a setter rather than requiring a recompile? Maybe thats a stupid question :slight_smile: - Interestingly if you run the MouseTest from lwjgl you dont get the console output - but if you copy the libs (either/both jinput.jar, libjinput.jnilib) from lwjgl distribution and use those, the console output still apears. Seems to imply the lwjgl guys have worked out how to suppress the output without rebuilding the libs. Maybe lwjgl isn’t using jinput for mouse, but I thought I had read that they were. Anyway - just general agreement here that a way to suppress the debug without doing a recompile would be good.

Hi

I don’t know about the OSX jinput, but the linux one dumps alot of debug from the native code as well as the java. Thats why a recomile is required. Like I said though, don’t know about the OSX version.

Endolf

I also would like seeing that debug stuff either removed or off by default (and a setter).