From b86c4ace3500916d80c7bcdaf4b649510382ab21 Mon Sep 17 00:00:00 2001 From: Orvani Date: Mon, 16 May 2022 11:03:46 +0300 Subject: [PATCH] Fixes for pphysical joystick (ONVIF)- issue #189 - update fix bug - physical ptz missing stop command, without break of digital PTZ internal bool DigitalPTZ => _cameraControl.Camobject.ptz == -1; --- PTZController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTZController.cs b/PTZController.cs index 5967bb1a..eeffa13d 100644 --- a/PTZController.cs +++ b/PTZController.cs @@ -111,7 +111,7 @@ internal PTZSettings2Camera PTZSettings } } - internal bool DigitalPTZ = false; + internal bool DigitalPTZ => _cameraControl.Camobject.ptz == -1; public PTZController(CameraWindow cameraControl)