I am trying to catch some letters and special characters. I’m using this method:
Keyboard keyboard = null;
if (keyboard.isKeyDown(Key.A)) {
}
However, I can’t figure how to register the question marker for instance (?). The letters I’m in a need of are:
! ? Æ Ø Å æ ø å
How can I get to use those?
There is no keycode for question mark (?) in java, so not sure there would be any way to catch that. From the javadoc
For exclamation mark, there seems to be the constant
VK_EXCLAMATION_MARK