generated from jobindjohn/obsidian-publish-mkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
297 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.obsidian/* | ||
.DS_Store | ||
docs/images/.DS_Store | ||
docs/images/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
docs/Button/Button Representations/Deck Specific – Stream Deck.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# ColoredLed | ||
|
||
ColoredLed buttons are color capable led behind a transparent or mask button. | ||
|
||
They are either on or off, with a RGB color. | ||
|
||
``` | ||
colored-led: blue | ||
``` | ||
|
||
The Elgato Stream Deck Neo has two small colored led on each side of the LCD display. | ||
|
||
# Larger Displays | ||
|
||
Some decks exhibit displays that are larger than a key with and iconic representation. Those displays often have touch and swipe capabilities. This led to design activations and representations specific to these larger displays to be used with your favourite flight simulation software. | ||
|
||
> Please note, for example, that the LoupedeckLive deck has a unique central display screen accepting touches and swipes. A plastic grid cover gives the illusion that there are two vertical side screens and 12 « keys » in the middle, but underlying is a unique 480 × 360 pixel screen. Each key is a 90 × 90 pixel portion of that screen. | ||
## Usage | ||
|
||
Larger screens can be used in two different ways: | ||
|
||
- As a whole, unique, larger display surface, | ||
- As a set of adjacent buttons covering the entire surface. | ||
|
||
In the later case, the specificity of the display is not apparent, and resulting buttons are treated as regular keys with iconic image display (with different sizes sometimes.) This is called a [[Multi-Buttons and Mosaic|Mosaic]]. | ||
|
||
When considered as a single larger display, it is difficult to remain generic since each display will have special size, location, and behavior. Cockpitdecks buttons assigned to those specific display are therefore also very specific. | ||
|
||
## Activations | ||
|
||
Having no activation at all to use those display solely for displaying purposes is always an option. However simple activations can make the passive display a lot more enjoyable. | ||
|
||
For exemple, if the display is capable, touching or swiping the display can be used to change its content. On startup, display heading, swipe left, display speed, swipe right display heading, etc. | ||
|
||
## Touch | ||
|
||
Touch is similar to button press activation and can be used as such. | ||
|
||
## Swipe | ||
|
||
Swipe returns movement start and end position and timing. These values can be interpreted to model a limited set of movements like swipe left, right or up, down. Raw values can also be used as an increasing or decreasing sliding cursor. | ||
|
||
## Representations | ||
|
||
Given the sizes of each display, representations fitting those displays will always remain very specific. | ||
|
||
### Larger Horizontal Displays | ||
|
||
#### Airbus Flight Control Unit | ||
|
||
The highly specific Airbus FCU representation reproduces the central display with all possible modes. | ||
|
||
#### Airbus Flight Mode Annunciators | ||
|
||
The Airbus FMA displays the five annunciators on top of the Primary Flight Display (PFD). | ||
|
||
There are two modes of display. The first one make use of a larger, horizontal display and shows all five annunciators next to each other. The second one use five keys with iconic display and show one annunciator on one key. In both cases, data necessary for display is fetched only once, the first annunciator being the master one with all data, other annunciators are slave ones and fetch their data from the master annunciator. | ||
|
||
Airbus FMA display is a pure display with no activation associated with it. | ||
|
||
### Larger Vertical Displays | ||
|
||
On LoupedeckLive decks, vertical displays exploit their proximity to the lateral encoder dials to present direct encoder feedback. For example, next to the QNH adjustment encoder, the current atmospheric pressure is displayed. Pushing the encode switches between Standard pressure and local ambiant pressure. | ||
|
||
### Icons | ||
|
||
Image or drawn icons (especially text messages) are also an alternative way to decorate those displays. One can imagine displaying ATC instructions on a tape display, with swipe actions to acknowledge messages. |
35 changes: 35 additions & 0 deletions
35
docs/Button/Button Representations/Deck Specific – X-Touch Mini.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# EncoderLEDs | ||
|
||
`led: encoder-leds` | ||
|
||
(Specific to the X-Touch Mini Encoders.) | ||
|
||
MultiLeds are LED-based display that use more than one LED for reporting information. | ||
|
||
X-Touch Mini encoders, for example, are surrounded by 11 LED that can be lit individually. | ||
|
||
![[enc-status.png]] | ||
|
||
## Attributes | ||
|
||
`led-mode: fan` or `led-mode: 2`; name or number | ||
|
||
Valid modes are: | ||
|
||
0. Single | ||
1. Trim | ||
2. Fan | ||
3. Spread | ||
|
||
The value of the button determine how many leds will be displayed (0 to 11). | ||
|
||
> [!NOTE] X-Touch Mini MACKIE MODE | ||
> To send feedback instruction to the deck, two modes of interactions are available: Direct mode, and Mackie Mode. Cockpitdecks uses Mackie Mode which makes deck interaction easier and standard through the MIDI protocol. However, in Mackie Mode, only 11 of the 13 available encoder LEDs are accessible. It is not possible to access LED 0 and 13, only 1 to 12. | ||
## Value Mapping | ||
|
||
If nothing is specified, raw button value is used. | ||
|
||
If `value_min` and `value_max` are specified in the encoder attribute, the Encoder representation performs a linear mapping between (`value_min`, `value_max`) and the range of valid values (0, 10). | ||
|
||
A Warning is issued if the value is out of the range 0-11. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
This page is an attempt at providing all necessary step to create a new page of buttons to display on a deck. | ||
|
||
We assume you installed Cockpitdecks properly, together with the Cockpitdecks Helper Plugin which is necessary to work in fully automatic mode. | ||
|
||
# Deck Preparation | ||
|
||
First, make sure the deck model you own is a deck already available through Cockpitdecks. The following deck brands and models have been tested and used: | ||
|
||
- Elgato Strem Deck: Streamdeck MK.2, Streamdeck XL, Streamdeck Mini, Streamdeck+, Streamdeck Neo | ||
- Loupedeck: LoupedeckLive, LoupedeckLive.s | ||
- Behringer: X-Touch Mini (I recently noticed that there are several version of the same device, but they should all work since the Makie mode is used.) | ||
|
||
## Prepare the Folder | ||
|
||
In normal, simple, automatic mode, Cockpitdecks expects configuration to be found in the folder of the aircraft currently being used. (This may be adjusted by advanced configuration parameters if you do not want to store Cockpitdecks configuration files in the that folder.) | ||
|
||
In the aircraft folder, create a folder named `deckconfig`. | ||
|
||
## Add the main `config.yaml`File | ||
|
||
Inside the above folder, create the main configuration file with this content. Adjust the content to your deck. | ||
|
||
``` | ||
aircraft: Cessna 172 | ||
decks: | ||
- name: Aviator Loupdeck | ||
type: loupedeck | ||
layout: cockpit | ||
brightness: 70 | ||
``` | ||
|
||
## Create a layout Folder | ||
|
||
In the conifiguration file, you mention the name of the layout you are going to use for that deck: `cockpit`. Inside the deckconfig folder, create a sub-folder and name it `cockpit`. | ||
|
||
## Add a Page | ||
|
||
Inside that `cockpit` folder, create a file `index.yaml`. Insert the following content in the file: | ||
|
||
``` | ||
buttons: | ||
- index: 0 | ||
label: Map | ||
type: push | ||
icon: map | ||
command: sim/map/show_current | ||
``` | ||
|
||
## First Run | ||
|
||
Start X-Plane, load the aircraft where you created your Cockpitdecks configuration folder. | ||
|
||
Disconnect all software that access your deck. | ||
|
||
### Create an Environment File | ||
|
||
If every runs on the same computer, you only need to supply X-Plane home directory. You can supply the folder either through a operating system environment variable `SIMULATOR_HOME`, or through the Cockpitdecks environment file. A `myenviron.yaml` file with the following content is sufficient: | ||
|
||
``` | ||
SIMULATOR_NAME: X-Plane | ||
SIMULATOR_HOME: /Applications/X-Plane 12 | ||
``` | ||
|
||
### Start Cockpitdecks | ||
|
||
``` | ||
$ cockpitdecks-cli --env myenviron.yaml | ||
``` | ||
|
||
Cockpitdecks will start immediately in demonstration mode, and connect to the simulator. Once it is connected to the simulator, it will try to collect the information about the aircraft that is currently loaded. This may take a few seconds. Once Cockpitdecks has the information about the aircraft currently being used, it will search for the deckconfig folder in the folder of the aircraft, and if found, will load the configuration it finds there. | ||
|
||
If everything worked properly, you should now see the first, upper left button of your deck displaying the Map text. With no map icon. | ||
|
||
## Adding Custom Icons | ||
|
||
# Add buttons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Adding an Existing Web Deck | ||
|
||
# Creating a New Web Deck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.