*** empty log message ***

This commit is contained in:
Elias Naur 2003-09-30 11:52:32 +00:00
parent 6d8991f7dd
commit 1ba24e9bdf
2 changed files with 2 additions and 2 deletions

View File

@ -38,12 +38,14 @@
* @version $Revision$ * @version $Revision$
*/ */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include "org_lwjgl_input_Controller.h" #include "org_lwjgl_input_Controller.h"
#include <windows.h> #include <windows.h>
#undef DIRECTINPUT_VERSION #undef DIRECTINPUT_VERSION
#define DIRECTINPUT_VERSION 0x0500 #define DIRECTINPUT_VERSION 0x0500
#include <dinput.h> #include <dinput.h>
#include <Window.h>
#define CONTROLLER_AXISMAX 1000 // Maxmimum range to which we'll gauge the swing #define CONTROLLER_AXISMAX 1000 // Maxmimum range to which we'll gauge the swing
#define CONTROLLER_AXISMIN -1000 // Minimum range to which we'll gauge the swing #define CONTROLLER_AXISMIN -1000 // Minimum range to which we'll gauge the swing
@ -183,7 +185,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Controller_nCreate(JNIEnv *env, jcla
ShutdownController(); ShutdownController();
return; return;
} }
return cCreate_success ? JNI_TRUE : JNI_FALSE;
} }
/* /*

View File

@ -142,7 +142,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nCreate(JNIEnv *env, jclass cl
printf("Failed to acquire mouse\n"); printf("Failed to acquire mouse\n");
#endif #endif
} }
return mCreate_success ? JNI_TRUE : JNI_FALSE;
} }
/* /*