Simplification work

This commit is contained in:
Caspian Rychlik-Prince 2004-03-26 11:09:39 +00:00
parent 1c98b2e5f6
commit fca57cefd5
7 changed files with 277 additions and 292 deletions

View file

@ -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"