Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Yau

[java] Jinput, how??? Tutorials??

This topic is 5242 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Can anyone point for me a good web-site or resource where I can get sample codes or tutorials on how to use JInput??

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
www.javagaming.org

Share this post


Link to post
Share on other sites
i''ve been 2 dat web-site.. and i must say it is very useless... I''ve downloaded all the class binaries for Jinput, JOGL and JOAL. I can get JOGL working, but i''m have trouble getting JInput working and i haven''t started playing with JOAL. So what I was really looking for is how do I set up JInput on my computer?

This is what i''ve done so far, I''ve added the path to the JInput.jar nad Jutils.jar file to my lasspath environment variable. Everything seems to work fine, the sample codes compile fines, it uts that the sample code doesn''t detect any controllers, it should at least detect my keyboard and mouse.

I''m using a Windows XP machine, but I am looking for general instructions on how to install JInput correctly for any platform.

Share this post


Link to post
Share on other sites
Did you search the jinput forum ? AFAIK all this stuff is quite "experimental", so don''t expect a nice click-next-button-thou-idiot installer. That''s the joy of open source !

Share this post


Link to post
Share on other sites
I just installed it, and it works the same way jogl does :
- jar files in jre/lib/ext (jinput.jar, jutils.jar and dxinput.jar for Windows)
- dll files in jre/bin (dxinput.dll for Windows)

There are some tests in net.java.games.input.test package. As of tutorials and demos, I haven''t found any but the API seems quite self-explanatory.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Well Jeff said it was pretty generic.
I consider it as a prime example of OO overdesign. It seems, however, that your problem is your bad instalation. Use the facking manual, or rather read the documentation (I did it too at least, and it solved something, surprissingly.)
./controler folder
is your problem.
You could read this article as well

http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jinput;action=display;num=1078277726

Raghar

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!