// if the global entity does not have focus, ignore this event
// because it is going to a shared app
KeyEvent ke = new KeyEvent(canvas, KeyEvent.KEY_PRESSED,
e.getWhen(), 0, KeyEvent.VK_SPACE, ' ');
Entity global = InputManager.inputManager().getGlobalFocusEntity();
if (!InputManager.entityHasFocus(ke, global)) {
return;
}
// if we are on mute, pressing space triggers a push to talk.