Skip to content

Commit

Permalink
feat: add backwards compatibility for layout controls
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Payne committed Sep 22, 2022
1 parent e6bb1c6 commit 98aa519
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 215 deletions.
14 changes: 7 additions & 7 deletions src/CiscoCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public void PositionHome()

public void PanLeft()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Move Value: Left CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Move Value: Left CallId: {0}", CallId));
}

public void PanRight()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Move Value: Right CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Move Value: Right CallId: {0}", CallId));
}

public void PanStop()
Expand All @@ -56,12 +56,12 @@ public void PanStop()

public void TiltDown()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Move Value: Down CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Move Value: Down CallId: {0}", CallId));
}

public void TiltUp()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Move Value: Up CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Move Value: Up CallId: {0}", CallId));
}

public void TiltStop()
Expand All @@ -75,12 +75,12 @@ public void TiltStop()

public void ZoomIn()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Move Value: ZoomIn CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Move Value: ZoomIn CallId: {0}", CallId));
}

public void ZoomOut()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Move Value: ZoomOut CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Move Value: ZoomOut CallId: {0}", CallId));
}

public void ZoomStop()
Expand All @@ -93,7 +93,7 @@ public void ZoomStop()

void Stop()
{
ParentCodec.EnqueueCommand(string.Format("xCommand CiscoCall FarEndControl Camera Stop CallId: {0}", CallId));
ParentCodec.EnqueueCommand(string.Format("xCommand Call FarEndControl Camera Stop CallId: {0}", CallId));
}

public void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey, EiscApiAdvanced bridge)
Expand Down
Loading

0 comments on commit 98aa519

Please sign in to comment.