*** empty log message ***
This commit is contained in:
parent
6d8991f7dd
commit
1ba24e9bdf
|
@ -38,12 +38,14 @@
|
|||
* @version $Revision$
|
||||
*/
|
||||
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include "org_lwjgl_input_Controller.h"
|
||||
#include <windows.h>
|
||||
#undef DIRECTINPUT_VERSION
|
||||
#define DIRECTINPUT_VERSION 0x0500
|
||||
#include <dinput.h>
|
||||
#include <Window.h>
|
||||
|
||||
#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
|
||||
|
@ -183,7 +185,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Controller_nCreate(JNIEnv *env, jcla
|
|||
ShutdownController();
|
||||
return;
|
||||
}
|
||||
return cCreate_success ? JNI_TRUE : JNI_FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -142,7 +142,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nCreate(JNIEnv *env, jclass cl
|
|||
printf("Failed to acquire mouse\n");
|
||||
#endif
|
||||
}
|
||||
return mCreate_success ? JNI_TRUE : JNI_FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue