$begingroup$

Is there a approach to interpret the enter from a PlayStation 3 controller, and use it in a Home windows and MacOS program that I’m writing in Java? I’ve been SDL and OIS, however they don’t seem to be coded in Java, so I must write a Java wrapper.

$endgroup$

3

$begingroup$

After doing a little analysis I discovered library I may use referred to as JInput.

HowTo: Arrange JInput API and Library for Java Growth on Mac OS X or Linux Platform (archived)

This tutorial helps you put in it and begin up a primary programming. I used this tutorial to put in JInput however ended up not utilizing the library that the writer gives.

For utilizing Netbeans for those who get caught on the step the place it’s important to add the .jnilib put the file path within the digital machine choices beneath proper click on your mission > mission > run. Then add one thing like this -Djava.library.path="/path-to-folder-of-the-jnilib" Put the trail to the folder the place it’s positioned not the precise file.

$endgroup$


You could log in to reply this query.

Not the reply you are searching for? Browse different questions tagged .