private static extern bool NCRegisterControllerDisconnectedCallback(NCControllerDisconnectedDelgate callback);
// Registers whatever delegate you pass in to be called whenever the controller that has registered to receive input callbacks disconnects from the device // Returns true if the delegate is successfully registered for callbacks public static bool RegisterControllerDisconnectedCallback(NCControllerDisconnectedDelgate del) { _disconnectedDelegateInstance = del; return(NCRegisterControllerDisconnectedCallback(del)); }