Removed Keyboard.isStateKeySet() - it is easily replaced by Toolkit.getLockingKeyState()

This commit is contained in:
Elias Naur 2006-06-10 20:42:26 +00:00
parent 6e6bdb1fa0
commit 9f41ecaedb
6 changed files with 12 additions and 13 deletions

View file

@ -625,10 +625,10 @@ final class LinuxDisplay implements DisplayImplementation {
}
private static native int nReadKeyboard(IntBuffer buffer, int buffer_position);
public int isStateKeySet(int key) {
/* public int isStateKeySet(int key) {
return Keyboard.STATE_UNKNOWN;
}
*/
private static native ByteBuffer nCreateCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, int images_offset, IntBuffer delays, int delays_offset) throws LWJGLException;
public Object createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException {