Ejemplo n.º 1
0
 public static Nolo_ControllerStates GetControllerStates(int deviceIndex)
 {
     if (GetHmdVersion() >= API_1_0_0.apiVersion)
     {
         return(API_1_0_0.GetControllerStatesByDeviceTyp(deviceIndex));
     }
     else
     {
         return(new Nolo_ControllerStates());
     }
 }
Ejemplo n.º 2
0
 public static Nolo_ControllerStates GetControllerStates(int deviceIndex)
 {
     if (hmdVersion <= 0)
     {
         hmdVersion = API_1_0_0.GetVersionByDeviceType(0);
     }
     if (hmdVersion >= API_1_0_0.apiVersion)
     {
         return(API_1_0_0.GetControllerStatesByDeviceTyp(deviceIndex));
     }
     else
     {
         return(new Nolo_ControllerStates());
     }
 }