From 5a1e5dec0a64fb74b7ccfb74992cd6c3293e2410 Mon Sep 17 00:00:00 2001 From: endolf Date: Fri, 11 Nov 2005 19:22:55 +0000 Subject: Let me just say .... Ooops was forgetting to increment a counter git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@129 e343933a-64c8-49c5-92b1-88f2ce3e89e8 --- plugins/linux/src/native/jinput.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/linux') 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++; } } -- cgit v1.2.3