From 68370a42ddd912dddb068dd9e5aeffacb42d22bc Mon Sep 17 00:00:00 2001
From: Tobias Dammers
Date: Thu, 21 Nov 2024 17:51:13 +0100
Subject: [PATCH] Document shared CCD
---
Documentation/guide.html | 8 ++++++++
Documentation/guide.markdown | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/Documentation/guide.html b/Documentation/guide.html
index 7879692..4a705df 100644
--- a/Documentation/guide.html
+++ b/Documentation/guide.html
@@ -140,6 +140,14 @@ EFIS screens and CCD's
page on the
FlightGear wiki explains how.
+It is also possible to use a single input device to drive both CCD's, with a
+toggle to select the 'current' one. To use this, map your device inputs to
+/controls/shared-ccd
; the same properties exist here as in the individual
+CCD's, plus a target
property that can be set to either 0 or 1 to control the
+left and right CCD respectively. Inputs to the shared CCD will be forwarded to
+the active target according to this property, so you can use this to map a
+button on your input device to switch between CCD's.
+
The following functionality is available through the CCD-driven GUI:
PFD
diff --git a/Documentation/guide.markdown b/Documentation/guide.markdown
index 96252c8..c35e795 100644
--- a/Documentation/guide.markdown
+++ b/Documentation/guide.markdown
@@ -132,6 +132,14 @@ mouse working normally is possible; [this
page](https://wiki.flightgear.org/Input_device#Multiple_mice_on_Linux) on the
FlightGear wiki explains how.
+It is also possible to use a single input device to drive both CCD's, with a
+toggle to select the 'current' one. To use this, map your device inputs to
+`/controls/shared-ccd`; the same properties exist here as in the individual
+CCD's, plus a `target` property that can be set to either 0 or 1 to control the
+left and right CCD respectively. Inputs to the shared CCD will be forwarded to
+the active target according to this property, so you can use this to map a
+button on your input device to switch between CCD's.
+
The following functionality is available through the CCD-driven GUI:
### PFD