}
switch (event.getKey().getId()) {
case Keyboard.KeyId.F1:
mouseGrabbed = !mouseGrabbed;
DebugProperties debugProperties = (DebugProperties) nuiManager.getHUD().getHUDElement("engine:DebugProperties");
debugProperties.setVisible(!mouseGrabbed);
Mouse.setGrabbed(mouseGrabbed);
event.consume();
break;
case Keyboard.KeyId.F3:
config.getSystem().setDebugEnabled(!config.getSystem().isDebugEnabled());