The JInput versions at https://games-binaries.dev.java.net/build/index.html are misleadingly dated. They’re actually from May 2004. Ignore the 2005 extension.
The windows download contains two copies of the 4 API files, and dxinput.jar and dxinput.dll need to be stored in a controller/ subdirectory in order for things to work.
But actually, none of that matters. The most current versions of JInput are at
http://www.newdawnsoftware.com/resources/jinput/, with the Windows version dating from September 2005. It’s been simplified to two files, but the only documentation on how to use it appears in http://www.java-gaming.org/forums/index.php?topic=10634.0, near the bottom of p.1 in a post by endolf.
None of the JInput documentation mentions this, including the freefodder tutorial https://freefodder.dev.java.net/tutorial/jinputTutorialOne.html.
Come on guys, spend 20 minutes and fix things up
- Andrew