LeapListener.OnInit C# (CSharp) Method

OnInit() public method

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