mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 22:45:50 +00:00
Simplification work
This commit is contained in:
parent
1c98b2e5f6
commit
fca57cefd5
7 changed files with 277 additions and 292 deletions
|
|
@ -422,6 +422,20 @@ public class Keyboard {
|
|||
assert created : "The keyboard has not been created.";
|
||||
return keyDownBuffer.get(key) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if buffering is enabled
|
||||
*/
|
||||
public static boolean isBuffered() {
|
||||
return readBuffer != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if translation is enabled
|
||||
*/
|
||||
public static boolean isTranslationEnabled() {
|
||||
return translationEnabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether one of the state keys are "active"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue