Removed Keyboard.initIDs

This commit is contained in:
Elias Naur 2004-04-07 07:48:37 +00:00
parent cc367fa4b5
commit 8065870592
5 changed files with 0 additions and 37 deletions

View file

@ -272,15 +272,9 @@ public class Keyboard {
if (initialized)
return;
Sys.initialize();
initIDs();
initialized = true;
}
/**
* Register fields with the native library
*/
private static native void initIDs();
/**
* "Create" the keyboard. The display must first have been created. The
* reason for this is so the keyboard has a window to "focus" in.

View file

@ -7,7 +7,6 @@
#ifdef __cplusplus
extern "C" {
#endif
/* Inaccessible static: _00024assertionsDisabled */
#undef org_lwjgl_input_Keyboard_CHAR_NONE
#define org_lwjgl_input_Keyboard_CHAR_NONE 0L
#undef org_lwjgl_input_Keyboard_KEY_NONE
@ -279,14 +278,6 @@ extern "C" {
/* Inaccessible static: eventState */
/* Inaccessible static: initialized */
/* Inaccessible static: class_00024org_00024lwjgl_00024input_00024Keyboard */
/*
* Class: org_lwjgl_input_Keyboard
* Method: initIDs
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_input_Keyboard_initIDs
(JNIEnv *, jclass);
/*
* Class: org_lwjgl_input_Keyboard
* Method: nCreate

View file

@ -63,14 +63,6 @@ static bool translation_enabled;
static bool created = false;
static bool should_grab = false;
/*
* Class: org_lwjgl_input_Keyboard
* Method: initIDs
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_input_Keyboard_initIDs(JNIEnv * env, jclass clazz) {
}
static void setRepeatMode(int mode) {
XKeyboardControl repeat_mode;
repeat_mode.auto_repeat_mode = mode;

View file

@ -345,9 +345,6 @@ static void setupMappings(void) {
key_map[0x79] = org_lwjgl_input_Keyboard_KEY_NEXT;
}
JNIEXPORT void JNICALL Java_org_lwjgl_input_Keyboard_initIDs(JNIEnv * env, jclass clazz) {
}
JNIEXPORT void JNICALL Java_org_lwjgl_input_Keyboard_nCreate(JNIEnv * env, jclass clazz) {
buffer_enabled = false;
translation_enabled = false;

View file

@ -56,17 +56,6 @@ static bool translationEnabled;
static bool useUnicode;
/*
* Class: org_lwjgl_input_Keyboard
* Method: initIDs
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_input_Keyboard_initIDs
(JNIEnv * env, jclass clazz)
{
}
/*
* Class: org_lwjgl_input_Keyboard
* Method: nCreate