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, }); }
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 } }); }