コード例 #1
0
 private static extern bool NCRegisterInputCallback(NCControllerInputDelgate callback);
コード例 #2
0
 // Registers whatever delegate you pass in to be called whenever the current controller has input state changes
 // Returns true if the delegate is successfully registered for callbacks
 public static bool RegisterControllerInputCallback(NCControllerInputDelgate del)
 {
     _inputDelegateInstance = del;
     return(NCRegisterInputCallback(del));
 }