Removed isStateKeySet from KeyboardTest
This commit is contained in:
parent
d3530a26dc
commit
8d9d7f350e
|
@ -175,17 +175,6 @@ public class KeyboardTest {
|
||||||
position.y -= 1;
|
position.y -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Keyboard.isStateKeySet(Keyboard.KEY_SCROLL) == Keyboard.STATE_ON) {
|
|
||||||
System.out.println("SCROLL lock on");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Keyboard.isStateKeySet(Keyboard.KEY_CAPITAL) == Keyboard.STATE_ON) {
|
|
||||||
System.out.println("CAPS lock on");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Keyboard.isStateKeySet(Keyboard.KEY_NUMLOCK) == Keyboard.STATE_ON) {
|
|
||||||
System.out.println("NUM lock on");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
System.out.println();
|
System.out.println();
|
||||||
|
|
Loading…
Reference in New Issue