public static class ConsoleSettings.KeyStroke
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Returns the key that must be pressed to summon the console.
|
boolean |
requiresAlt()
Returns whether alt must be held down to summon the console.
|
boolean |
requiresControl()
Returns whether control must be held down to summon the console.
|
boolean |
requiresShift()
Returns whether shift must be held down to summon the console.
|
java.lang.String |
toString() |
public int getKey()
The list of valid key codes can be found here: http://www.lwjgl.org/javadoc/constant-values.html#org.lwjgl.input.Keyboard.KEY_0
public boolean requiresShift()
public boolean requiresControl()
public boolean requiresAlt()
public java.lang.String toString()
toString
in class java.lang.Object