Hallo,
ich will in meinem Programm Gamepads unterstützen. Ich habe gelesen das JXInput geeignet dafür ist.
Leider wird mein Import nicht erkannt:
Es heisst: The import de cannot be resolved.
In der Anleitung von JXInput steht: "In order to operate, JXInput needs only two files. There is the file JXInput.jar that contains the compiled Java classes and JXInput.dll holding the native code.
JXInput.jar has to be part of your CLASSPATH, JXInput.dll has to be in a place where Windows is able to find it. I prefer to have the DLL just in the directory where the application starts". Jetzt
habe ich die beiden Dateien in viele Verzeichnisse kopiert, unter anderem auch in das System Verzeichnis von Windows und die Verzeichnisse bin und src, da wo das Java-Programm abgelegt ist. Ich vermute es liegt an
dem CLASSPATH. Ich weiss nicht, was damit gemeint ist. Ich nutze Windows Vista und Eclipse. Könnt Ihr mir da helfen? Vielen Dank!
ich will in meinem Programm Gamepads unterstützen. Ich habe gelesen das JXInput geeignet dafür ist.
Leider wird mein Import nicht erkannt:
Code:
import de.hardcode.jxinput.*;
In der Anleitung von JXInput steht: "In order to operate, JXInput needs only two files. There is the file JXInput.jar that contains the compiled Java classes and JXInput.dll holding the native code.
JXInput.jar has to be part of your CLASSPATH, JXInput.dll has to be in a place where Windows is able to find it. I prefer to have the DLL just in the directory where the application starts". Jetzt
habe ich die beiden Dateien in viele Verzeichnisse kopiert, unter anderem auch in das System Verzeichnis von Windows und die Verzeichnisse bin und src, da wo das Java-Programm abgelegt ist. Ich vermute es liegt an
dem CLASSPATH. Ich weiss nicht, was damit gemeint ist. Ich nutze Windows Vista und Eclipse. Könnt Ihr mir da helfen? Vielen Dank!