mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 07:54:05 +00:00
Added notes to Mouse.poll() and Keyboard.poll() that Display.processMessages() (or Display.update()) must be called to receive new input state
This commit is contained in:
parent
f2b73f57de
commit
65309d759c
3 changed files with 9 additions and 3 deletions
|
|
@ -363,6 +363,9 @@ public class Keyboard {
|
|||
* <code>getEventKeyState</code> - finally use <code>getEventCharacter</code> to get the
|
||||
* character for that event.
|
||||
*
|
||||
* NOTE: This method does not query the operating system for new events. To do that,
|
||||
* Display.processMessages() (or Display.update()) must be called first.
|
||||
*
|
||||
* @see org.lwjgl.input.Keyboard#isKeyDown(int key)
|
||||
* @see org.lwjgl.input.Keyboard#next()
|
||||
* @see org.lwjgl.input.Keyboard#getEventKey()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue