public override void OnInit(Controller controller) { IntPtr h = Process.GetCurrentProcess().MainWindowHandle; ShowWindow(h, 0); controller.EnableGesture(Gesture.GestureType.TYPESWIPE); SafeWriteLine("Initialized"); }