aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/visca.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/visca.h')
-rw-r--r--backends/visca.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/visca.h b/backends/visca.h
index 1b8c0e5..37f21b1 100644
--- a/backends/visca.h
+++ b/backends/visca.h
@@ -17,8 +17,8 @@ enum /*_ptz_relmove_channel */ {
rel_down = 2,
rel_left = 4,
rel_right = 8,
- rel_x = 3,
- rel_y = 12
+ rel_x = rel_up | rel_down,
+ rel_y = rel_left | rel_right
};
typedef struct /*_ptz_instance_data*/ {
@@ -26,8 +26,8 @@ typedef struct /*_ptz_instance_data*/ {
uint8_t cam_address;
uint16_t x;
uint16_t y;
- uint8_t panspeed;
- uint8_t tiltspeed;
+ uint8_t max_pan, max_tilt;
+ double factor_pan, factor_tilt;
uint8_t relative_movement;
double deadzone;
uint8_t direct_device;