[java] Jinput, how??? Tutorials??
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??
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.
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.
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 !
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.
- 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.
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement