| Modifier and Type | Field and Description |
|---|---|
| private final EventQueue | |
| private boolean | |
| private final byte[] | |
| private int | |
| private int | |
| private long | |
| private boolean | |
| private byte | |
| private final ByteBuffer | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private static native short | |
| private static native int | |
| private static native short | |
| pack-priv void | |
| pack-priv void | handleKey(int virt_key, int scan_code, boolean extended, byte event_state, long millis, boolean repeat)
|
| pack-priv boolean | |
| private static boolean | |
| private static boolean | |
| private static native boolean | |
| private static native int | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| pack-priv void | releaseAll(long millis)
This is called when the window loses focus: we release all currently pressed keys. |
| private static native int | |
| private static native int | ToUnicode(int wVirtKey, int wScanCode, ByteBuffer lpKeyState, CharBuffer pwszBuff, int cchBuff, int flags)
|
| private static int |
| event_queue | back to summary |
|---|---|
| private final EventQueue event_queue | |
| has_retained_event | back to summary |
|---|---|
| private boolean has_retained_event | |
| key_down_buffer | back to summary |
|---|---|
| private final byte[] key_down_buffer | |
| retained_char | back to summary |
|---|---|
| private int retained_char | |
| retained_key_code | back to summary |
|---|---|
| private int retained_key_code | |
| retained_millis | back to summary |
|---|---|
| private long retained_millis | |
| retained_repeat | back to summary |
|---|---|
| private boolean retained_repeat | |
| retained_state | back to summary |
|---|---|
| private byte retained_state | |
| tmp_event | back to summary |
|---|---|
| private final ByteBuffer tmp_event | |
| virt_key_down_buffer | back to summary |
|---|---|
| private final byte[] virt_key_down_buffer | |
| WindowsKeyboard | back to summary |
|---|---|
| pack-priv WindowsKeyboard() throws LWJGLException | |
| flushRetained | back to summary |
|---|---|
| private void flushRetained() | |
| GetAsyncKeyState | back to summary |
|---|---|
| private static native short GetAsyncKeyState(int virt_key) | |
| GetKeyboardState | back to summary |
|---|---|
| private static native int GetKeyboardState(ByteBuffer lpKeyState) | |
| GetKeyState | back to summary |
|---|---|
| private static native short GetKeyState(int virt_key) | |
| handleChar | back to summary |
|---|---|
| pack-priv void handleChar(int event_char, long millis, boolean repeat) | |
| handleKey | back to summary |
|---|---|
| pack-priv void handleKey(int virt_key, int scan_code, boolean extended, byte event_state, long millis, boolean repeat) | |
| isKeyDown | back to summary |
|---|---|
| pack-priv boolean isKeyDown(int lwjgl_keycode) | |
| isKeyPressed | back to summary |
|---|---|
| private static boolean isKeyPressed(int state) | |
| isKeyPressedAsync | back to summary |
|---|---|
| private static boolean isKeyPressedAsync(int virt_key) | |
| isWindowsNT | back to summary |
|---|---|
| private static native boolean isWindowsNT() | |
| MapVirtualKey | back to summary |
|---|---|
| private static native int MapVirtualKey(int uCode, int uMapType) | |
| poll | back to summary |
|---|---|
| pack-priv void poll(ByteBuffer keyDownBuffer) | |
| putEvent | back to summary |
|---|---|
| private void putEvent(int keycode, byte state, int ch, long millis, boolean repeat) | |
| read | back to summary |
|---|---|
| pack-priv void read(ByteBuffer buffer) | |
| releaseAll | back to summary |
|---|---|
| pack-priv void releaseAll(long millis) This is called when the window loses focus: we release all currently pressed keys. If a key has been pressed (or hasn't been released at all), before we regain focus, we'll start receiving repeat press events. We'll treat the first of those as a non-repeat press. | |
| ToAscii | back to summary |
|---|---|
| private static native int ToAscii(int wVirtKey, int wScanCode, ByteBuffer lpKeyState, ByteBuffer lpChar, int flags) | |
| ToUnicode | back to summary |
|---|---|
| private static native int ToUnicode(int wVirtKey, int wScanCode, ByteBuffer lpKeyState, CharBuffer pwszBuff, int cchBuff, int flags) | |
| translateExtended | back to summary |
|---|---|
| private static int translateExtended(int virt_key, int scan_code, boolean extended) | |