pub fn fullscreen_shortcut() -> bool
Whether the window’s fullscreen shortcut was pressed this frame: F11, or Alt+Enter. Like the window’s close button these belong to the platform, not to the game’s keymap (ticket 0902).
F11
Alt+Enter