mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-03 23:05:00 +00:00
Remove zoom speeds
This commit is contained in:
@@ -38,11 +38,9 @@ namespace PepperDash.Essentials.Devices.Common.Cameras
|
||||
|
||||
public byte PanSpeedSlow = 0x10;
|
||||
public byte TiltSpeedSlow = 0x10;
|
||||
public byte ZoomSpeedSlow = 0x03;
|
||||
|
||||
public byte PanSpeedFast = 0x13;
|
||||
public byte TiltSpeedFast = 0x13;
|
||||
public byte ZoomSpeedFast = 0x05;
|
||||
|
||||
private bool IsMoving;
|
||||
private bool IsZooming;
|
||||
@@ -152,15 +150,6 @@ namespace PepperDash.Essentials.Devices.Common.Cameras
|
||||
{
|
||||
TiltSpeedFast = (byte)PropertiesConfig.TiltSpeedFast;
|
||||
}
|
||||
|
||||
if (PropertiesConfig.ZoomSpeedSlow > 0)
|
||||
{
|
||||
ZoomSpeedSlow = (byte)PropertiesConfig.ZoomSpeedSlow;
|
||||
}
|
||||
if (PropertiesConfig.ZoomSpeedFast > 0)
|
||||
{
|
||||
ZoomSpeedFast = (byte)PropertiesConfig.ZoomSpeedFast;
|
||||
}
|
||||
}
|
||||
|
||||
public override bool CustomActivate()
|
||||
@@ -671,18 +660,6 @@ namespace PepperDash.Essentials.Devices.Common.Cameras
|
||||
[JsonProperty("tiltSpeedFast")]
|
||||
public uint TiltSpeedFast { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Slow zoom speed (0-7)
|
||||
/// </summary>
|
||||
[JsonProperty("zoomSpeedSlow")]
|
||||
public uint ZoomSpeedSlow { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Fast zoom speed (0-7)
|
||||
/// </summary>
|
||||
[JsonProperty("zoomSpeedFast")]
|
||||
public uint ZoomSpeedFast { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Time a button must be held before fast speed is engaged (Milliseconds)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user