Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (525)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Discussions / Community & Volunteer Projects / Re: New version of Joystick Driver for Java releas on: 2003-01-05 05:33:38
javajoystick can't handle force feedback, and if it ever supported force feedback, it would have to use DirectInput.  I'm not aware of any other way to do force feedback on Windows.

I've heard rumors about force feedback on the Mac, but I haven't seen anything concrete.  The Apple documentation about joysticks (HIDs) on the Mac still says that, 'it's a work in progress.'

It's interesting to see the license differences.  I'll have to meditate about changing the license :-/

It's interesting to see the joystick speed differences.  There isn't much of a difference, but there is a small difference.  I know that JDKs sometimes take a while to warm up for performance testing, but you do make a good point.  I'm presuming that a normal joystick was used.  The polling works differently when it detects that more than the generic 3 axes are used, which causes it to get significantly slower.  It could also be due to how the function is declared (static verses "virtual").  Oh well.

I'm personally happier about the javajoystick model though.  I like the ability to have more than one joystick in use, the ability to add Java style listeners to a joystick, and the ability to pick and choose which joystick is used.
2  Discussions / Community & Volunteer Projects / Re: New version of Joystick Driver for Java releas on: 2003-01-04 17:06:49
Hi All Smiley

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 Smiley  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 Wink

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 Sad
3  Discussions / Community & Volunteer Projects / New version of Joystick Driver for Java released on: 2003-01-04 05:04:55
Hopefully this is the right forum to post this announcement.

I've occasionally been working on a Java Joystick driver interface for a few years now. I released my open source code in 2000, and I figure that it's been working pretty well for me and a few other people since then. I was hoping to get some feedback on the project in order to improve it a bit more.

The Java joystick driver currently works on Windows and Linux, and you can download a copy from here.
http://sourceforge.net/projects/javajoystick/

Comments and code contributions are welcome.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (70 views)
2014-11-26 15:22:04

toopeicgaming1999 (59 views)
2014-11-26 15:20:36

toopeicgaming1999 (14 views)
2014-11-26 15:20:08

SHC (27 views)
2014-11-25 12:00:59

SHC (25 views)
2014-11-25 11:53:45

Norakomi (31 views)
2014-11-25 11:26:43

Gibbo3771 (25 views)
2014-11-24 19:59:16

trollwarrior1 (38 views)
2014-11-22 12:13:56

xFryIx (77 views)
2014-11-13 12:34:49

digdugdiggy (55 views)
2014-11-12 21:11:50
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!