Beispiel #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());
     }
 }
Beispiel #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());
     }
 }