Add XCode key events and fullscreen