Thanks for taking the time to answer, feeling better already
However, the application IS running perfectly in NetBeans with JInput and the above files; my characters move as expected when using my gamepad. The very annoying issue is regarding the deployment of the app - I want to run it as a JAR, with all files included in it. But the gamepad don't get registered somehow; the missing link is dxinput.dll.
So, I don't care anymore if the DLL gets loaded from within the JAR - I just need for it to get loaded at all, at any cost almost
Could you (or someone else ) please explain generally how you would do the following:
1. Bundle the app's files (.class, images, sounds etc) as a JAR. This I know how to do
A bit unsure though on how the manifest file *should* be?
2. Get the app's main class inside the JAR to load a native lib (dxinput.dll in my case), from outside the JAR. Would be satisfied just to create a deployment folder that includes the JAR + the native library, and distribute this folder to anyone who might be interested.
This is all I want to do, getting somewhat desperate now as I feel that this really is a trivial matter? I would be extremely happy if I could make this work, thanks for listening