mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
Cleaned up Mouse and Keyboard now that buffering and translation are always enabled
This commit is contained in:
parent
250a87767f
commit
f4180a214d
11 changed files with 22 additions and 159 deletions
|
|
@ -79,7 +79,6 @@ final class Win32Display implements DisplayImplementation {
|
|||
public native void createMouse();
|
||||
public native void destroyMouse();
|
||||
public native void pollMouse(IntBuffer coord_buffer, ByteBuffer buttons);
|
||||
public native void enableMouseBuffer() throws LWJGLException;
|
||||
public native int readMouse(IntBuffer buffer, int buffer_position);
|
||||
public native void grabMouse(boolean grab);
|
||||
public int getNativeCursorCapabilities() {
|
||||
|
|
@ -95,8 +94,6 @@ final class Win32Display implements DisplayImplementation {
|
|||
public native void destroyKeyboard();
|
||||
public native void pollKeyboard(ByteBuffer keyDownBuffer);
|
||||
public native int readKeyboard(IntBuffer buffer, int buffer_position);
|
||||
public native void enableTranslation() throws LWJGLException;
|
||||
public native void enableKeyboardBuffer() throws LWJGLException;
|
||||
public native int isStateKeySet(int key);
|
||||
|
||||
public native void nCreateCursor(ByteBuffer handle, int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, int images_offset, IntBuffer delays, int delays_offset) throws LWJGLException;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue