mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
fix: videowall mode raw fb for dm-rmc-4kz-scaler-c
This commit is contained in:
parent
192991cc65
commit
0eb2436fa0
2 changed files with 47 additions and 30 deletions
|
|
@ -276,13 +276,26 @@ namespace PepperDash.Essentials.DM
|
|||
|
||||
void Scaler_OutputChange(EndpointScalerOutput scalerOutput, ScalerOutputEventArgs args)
|
||||
{
|
||||
if (scalerOutput == null)
|
||||
{
|
||||
Debug.Console(1, this, "Scaler Output object is null");
|
||||
return;
|
||||
}
|
||||
if (args == null)
|
||||
{
|
||||
Debug.Console(1, this, "Scaler Output Args are null");
|
||||
return;
|
||||
}
|
||||
Debug.Console(2, this, "Scaler Event ID: {0}", args.EventId);
|
||||
switch (args.EventId)
|
||||
{
|
||||
case ScalerOutputEventIds.WallModeFeedbackEventId:
|
||||
VideoWallModeRawFeedback.FireUpdate();
|
||||
break;
|
||||
default:
|
||||
Debug.Console(2, this, "Scaler Default Unhandled Event ID: {0}", args.EventId);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,6 +177,10 @@ namespace PepperDash.Essentials.DM
|
|||
trilist.SetUShortSigAction(joinMap.ScalerOutWallMode.JoinNumber, a => dmRmcScalerWithVideowall.SetWallMode(a));
|
||||
trilist.SetUShortSigAction(joinMap.ScalerOutWallModeRaw.JoinNumber, a => dmRmcScalerWithVideowall.SetWallModeRaw(a));
|
||||
|
||||
if (rmc.VideoWallModeFeedback != null)
|
||||
rmc.VideoWallModeFeedback.LinkInputSig(trilist.UShortInput[joinMap.ScalerOutWallMode.JoinNumber]);
|
||||
if (rmc.VideoWallModeRawFeedback != null)
|
||||
rmc.VideoWallModeRawFeedback.LinkInputSig(trilist.UShortInput[joinMap.ScalerOutWallModeRaw.JoinNumber]);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue