diff options
Diffstat (limited to 'plugins/linux/src/native/jinput.cpp')
-rw-r--r-- | plugins/linux/src/native/jinput.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/linux/src/native/jinput.cpp b/plugins/linux/src/native/jinput.cpp index 2123d0b..39eaf06 100644 --- a/plugins/linux/src/native/jinput.cpp +++ b/plugins/linux/src/native/jinput.cpp @@ -120,6 +120,7 @@ JNIEXPORT jint JNICALL Java_net_java_games_input_JInputLibrary_nativeInit if(jsDevices[i]!=NULL) { LOG_TRACE("Copying joystick device %d to jinput device list %d\n", i, jinputNumDevices); jinputDeviceList[jinputNumDevices] = jsDevices[i]; + jinputNumDevices++; } } |