|
|
|
@ -35,7 +35,7 @@ namespace Mystify |
|
|
|
|
|
|
|
|
|
|
|
public bool UseMidiView { get; set; } |
|
|
|
public bool UseMidiView { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public void LoadDriverAndDevice(string driverPath, bool useMidiView) |
|
|
|
public void LoadDriverAndDevice(string driverPath) |
|
|
|
{ |
|
|
|
{ |
|
|
|
IDriver? driver = _driverLoader.Load(driverPath); |
|
|
|
IDriver? driver = _driverLoader.Load(driverPath); |
|
|
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ namespace Mystify |
|
|
|
_device = _deviceFactory.Create(driver); |
|
|
|
_device = _deviceFactory.Create(driver); |
|
|
|
_controllableCollector = _controllableCollectorFactory.Create(); |
|
|
|
_controllableCollector = _controllableCollectorFactory.Create(); |
|
|
|
|
|
|
|
|
|
|
|
_device.StartCommunication(useMidiView); |
|
|
|
_device.StartCommunication(UseMidiView); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void MapControllable() |
|
|
|
public void MapControllable() |
|
|
|
|