StrikerX3/JXInput

XInputDevice.getLibraryVersion() NoSuchMethodError

pekuz opened this issue · 1 comments

pekuz commented

At version 0.7, code below:

    if (XInputDevice.isAvailable()) {
        System.out.println("INIT XInput library " + XInputDevice.getLibraryVersion().name());

results in:

Exception in thread "main" java.lang.NoSuchMethodError: com.ivan.xinput.XInputDevice.getLibraryVersion()Lcom/ivan/xinput
/XInputLibraryVersion;

pekuz commented

XInputLibraryVersion was missing in the jar. I have found out an error at my side - v0.6 was bundled for run-time.