Hi All
Where does it say that the joy* methods are deprecated? I looked all over the msdn.microsoft.com site, and I didn’t see that mentioned anywhere, especially on the documentation of those functions. I only see that DirectInput superscedes the joy* API, but that doesn’t mean that it’s deprecated.
From my past experience, COM and JNI are slow compared to using C/C++ directly. That is one reason why I’m using the C API. The C API is also easier.
I also don’t see how the BSD license is incompatible with the artistic license. I guess that is why I’m not a lawyer I know that I don’t want my project with the GPL or LGPL license. I wanted the source code freely available to anyone without any restrictions on modification or incorporation of the source code as long as they gave the original author(s) credit. I don’t consider giving credit that much of a restriction.
If someone can explain to me what is incompatible between the BSD and artistic licenses, I might change the license.
I’m not sure how to do force feedback on Linux either, but I do know that the Microsoft way of force feedback is highly platform dependent. Last time I looked at force feedback on Windows, it looked very difficult and it seemed that it required extra files to specify the wave signal to the joystick. So I focused most of my attention to making the joystick interface simple, flexible and fast. The project works with game pads and traditional joysticks, and I’ve heard that it’s been used with HIDs with analog buttons (it had 20 axes and required a small modification to the code).
Yes traditionally polling can be slower than event callbacks, but from my experience of navigating some VRML models in Java I couldn’t tell the difference in speed. In Java the biggest speed killer has almost always been the garbage collector. Of course speed differences are all hearsay without a performance test to show the difference
I believe that the usage model in Joystick Driver for Java is significantly different from lwjgl, and it would take plenty of work to integrate it into lwjgl