コード例 #1
0
 public static ScController Create(
     EliteSharedState sharedState, vJoy vjoy, EliteVirtualJoysticks virtualJoysticks, vJoyMapper vJoyMapper)
 {
     return(new ScController()
     {
         Controller = SwscController.RetrieveAll()?.First(),
         SharedState = sharedState,
         //vJoy = vjoy,
         VirtualJoysticks = virtualJoysticks,
         vJoyMapper = vJoyMapper,
     });
 }
コード例 #2
0
 public static ScController Create(EliteSharedState sharedState, vJoy vjoy, vJoyMapper vJoyMapper)
 {
     return(new ScController()
     {
         Controller = SwscController.RetrieveAll()?.First(),
         SharedState = sharedState,
         vJoy = vjoy,
         vJoyMapper = vJoyMapper,
         VisualState = new VisualState {
             Name = Name
         }
     });
 }