| Modifier and Type | Field and Description |
|---|---|
| private float | accum_dx
The accumulated mouse deltas returned by poll() |
| private float | |
| private int | |
| private final byte[] | |
| private IntBuffer | |
| private MacOSXDisplay | |
| private final ByteBuffer | |
| private boolean | |
| private float | last_x
The last mouse position |
| private float | |
| private static final int | |
| private boolean | saved_control_state
Saved control key state for ctrl-click right button emulation |
| private int | |
| private static final int | |
| private ByteBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public static long | createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays)
|
| public static void | |
| public synchronized boolean | |
| public synchronized void | |
| private static native long | nCreateCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, int images_offset, IntBuffer delays, int delays_offset)
|
| private static native void | |
| public static native void | |
| private native void | |
| private static native void | |
| private native void | |
| private native void | |
| public synchronized void | |
| private void | |
| protected void | |
| public synchronized void | |
| protected void | |
| public synchronized void | |
| public static void | |
| private void | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void |
| accum_dx | back to summary |
|---|---|
| private float accum_dx The accumulated mouse deltas returned by poll() | |
| accum_dy | back to summary |
|---|---|
| private float accum_dy | |
| accum_dz | back to summary |
|---|---|
| private int accum_dz | |
| buttons | back to summary |
|---|---|
| private final byte[] buttons | |
| delta_buffer | back to summary |
|---|---|
| private IntBuffer delta_buffer | |
| display | back to summary |
|---|---|
| private MacOSXDisplay display | |
| event | back to summary |
|---|---|
| private final ByteBuffer event | |
| grabbed | back to summary |
|---|---|
| private boolean grabbed | |
| last_x | back to summary |
|---|---|
| private float last_x The last mouse position | |
| last_y | back to summary |
|---|---|
| private float last_y | |
| NUM_BUTTONS | back to summary |
|---|---|
| private static final int NUM_BUTTONS | |
| saved_control_state | back to summary |
|---|---|
| private boolean saved_control_state Saved control key state for ctrl-click right button emulation | |
| skip_event | back to summary |
|---|---|
| private int skip_event | |
| WHEEL_SCALE | back to summary |
|---|---|
| private static final int WHEEL_SCALE | |
| window_handle | back to summary |
|---|---|
| private ByteBuffer window_handle | |
| MacOSXNativeMouse | back to summary |
|---|---|
| pack-priv MacOSXNativeMouse(MacOSXDisplay display, ByteBuffer window_handle) | |
| addDelta | back to summary |
|---|---|
| protected void addDelta(float dx, float dy) | |
| createCursor | back to summary |
|---|---|
| public static long createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException | |
| destroyCursor | back to summary |
|---|---|
| public static void destroyCursor(long cursor_handle) | |
| isGrabbed | back to summary |
|---|---|
| public synchronized boolean isGrabbed() | |
| mouseMoved | back to summary |
|---|---|
| public synchronized void mouseMoved(float x, float y, float dx, float dy, float dz, long nanos) | |
| nCreateCursor | back to summary |
|---|---|
| private static native long nCreateCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, int images_offset, IntBuffer delays, int delays_offset) throws LWJGLException | |
| nDestroyCursor | back to summary |
|---|---|
| private static native void nDestroyCursor(long cursor_handle) | |
| nGrabMouse | back to summary |
|---|---|
| public static native void nGrabMouse(boolean grab) | |
| nRegisterMouseListener | back to summary |
|---|---|
| private native void nRegisterMouseListener(ByteBuffer window_handle) | |
| nSetCursor | back to summary |
|---|---|
| private static native void nSetCursor(long cursor_handle) throws LWJGLException | |
| nSetCursorPosition | back to summary |
|---|---|
| private native void nSetCursorPosition(ByteBuffer window_handle, int x, int y) | |
| nUnregisterMouseListener | back to summary |
|---|---|
| private native void nUnregisterMouseListener(ByteBuffer window_handle) | |
| poll | back to summary |
|---|---|
| public synchronized void poll(IntBuffer coord_buffer, ByteBuffer buttons_buffer) | |
| putMouseEvent | back to summary |
|---|---|
| private void putMouseEvent(byte button, byte state, int dz, long nanos) | |
| putMouseEventWithCoords | back to summary |
|---|---|
| protected void putMouseEventWithCoords(byte button, byte state, int coord1, int coord2, int dz, long nanos) | |
| register | back to summary |
|---|---|
| public synchronized void register() | |
| resetCursorToCenter | back to summary |
|---|---|
| protected void resetCursorToCenter() | |
| setButton | back to summary |
|---|---|
| public synchronized void setButton(int button, int state, long nanos) | |
| setCursor | back to summary |
|---|---|
| public static void setCursor(long cursor_handle) throws LWJGLException | |
| setCursorPos | back to summary |
|---|---|
| private void setCursorPos(float x, float y, long nanos) | |
| setCursorPosition | back to summary |
|---|---|
| public synchronized void setCursorPosition(int x, int y) | |
| setGrabbed | back to summary |
|---|---|
| public synchronized void setGrabbed(boolean grabbed) | |
| unregister | back to summary |
|---|---|
| public synchronized void unregister() | |