Exemple #1
0
 public static JoystickBase getJoyStickByName(string name)
 {
     if (pid == PlatformID.Unix)
     {
         return(JoystickLinux.getJoyStickByName(name));
     }
     else
     {
         return(JoystickWindows.getJoyStickByName(name));
     }
 }