private void Input_KeyPressed(object sender, DirectKeyboardEventArgs e) { Dispatcher.Invoke(() => { //Skip the splash screen when any key is pressed EndSplash(); }); }
private void Input_KeyPressed(object sender, DirectKeyboardEventArgs e) { Dispatcher.Invoke(() => { if (e.State.PressedKeys.Contains(SharpDX.DirectInput.Key.Home)) { MenuHandler.Home(); } }); }