ui3 icon indicating copy to clipboard operation
ui3 copied to clipboard

Add gamepad support for PTZ control.

Open bp2008 opened this issue 1 year ago • 3 comments

It seems that Firefox has lifted the secure context restriction for the gamepad API and webkit may soon remove their console warning about it: https://github.com/w3c/gamepad/issues/145

Therefore I should attempt to use the gamepad API for PTZ control and see if it can provide some value. It is possible the PTZ control APIs available to us will just be too clunky and laggy. Ken has indicated some interest in making improvements where possible, so I'll ask for the ability to specify the PTZ movement speed.

bp2008 avatar Jul 08 '24 22:07 bp2008

Added experimentally in UI3-272.

bp2008 avatar Jul 13 '24 01:07 bp2008

image

bp2008 avatar Jul 22 '24 14:07 bp2008

Zoom out/in got swapped.

I'm going to request that a different set of bits be used for zoom speed so that it can be controlled independently of pan/tilt.

UI3-273 uses this method of joystick control if you set the joystickDev variable to true in the developer console.

Last tested against BI 5.9.5.3.

bp2008 avatar Aug 13 '24 15:08 bp2008

Development of this feature has been stalled for the last year, as the Blue Iris developer stopped responding to emails about it.

Current behavior (which is very bad with Dahua cameras) can be enabled in UI3 via the "Experimental Joystick API" setting in UI Settings > PTZ.

bp2008 avatar Aug 26 '25 21:08 bp2008