Current works: LCD, touch, ST, TH, some switches
This commit is contained in:
committed by
Malte Langermann
parent
d651b22379
commit
48d0ec49ed
@@ -684,26 +684,16 @@ LEGACY_NAMES = [
|
||||
"nb4p"
|
||||
},
|
||||
"inputs": {
|
||||
"LH": {
|
||||
"yaml": "Rud",
|
||||
"lua": "rud",
|
||||
"description": "Rudder"
|
||||
"ST": {
|
||||
"yaml": "ST",
|
||||
"lua": "ste",
|
||||
"description": "Steering"
|
||||
},
|
||||
"LV": {
|
||||
"yaml": "Ele",
|
||||
"lua": "ele",
|
||||
"description": "Elevator"
|
||||
},
|
||||
"RV": {
|
||||
"yaml": "Thr",
|
||||
"TH": {
|
||||
"yaml": "TH",
|
||||
"lua": "thr",
|
||||
"description": "Throttle"
|
||||
},
|
||||
"RH": {
|
||||
"yaml": "Ail",
|
||||
"lua": "ail",
|
||||
"description": "Aileron"
|
||||
},
|
||||
"P1": {
|
||||
"yaml": "POT1",
|
||||
"lua": "s1",
|
||||
@@ -723,22 +713,15 @@ LEGACY_NAMES = [
|
||||
"lua": "s3",
|
||||
"label": "S3",
|
||||
"short_label": "3",
|
||||
"description": "Potentiometer 3"
|
||||
},
|
||||
"SL1": {
|
||||
"yaml": "LS",
|
||||
"lua": "ls",
|
||||
"label": "LS",
|
||||
"short_label": "L",
|
||||
"description": "Left slider"
|
||||
},
|
||||
"SL2": {
|
||||
"yaml": "RS",
|
||||
"lua": "rs",
|
||||
"label": "RS",
|
||||
"short_label": "R",
|
||||
"description": "Right slider"
|
||||
"description": "Analog 3"
|
||||
},
|
||||
"P4": {
|
||||
"yaml": "POT4",
|
||||
"lua": "s4",
|
||||
"label": "S4",
|
||||
"short_label": "4",
|
||||
"description": "Analog 4"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -43,8 +43,7 @@ POT_CONFIG = {
|
||||
"P1": {"default": "POT"},
|
||||
"P2": {"default": "POT"},
|
||||
"P3": {"default": "POT"},
|
||||
"SL1": {"default": "SLIDER"},
|
||||
"SL2": {"default": "SLIDER"}
|
||||
"P4": {"default": "POT"}
|
||||
},
|
||||
"v12": {
|
||||
"P1": {"default": "POT_CENTER"},
|
||||
|
||||
@@ -67,13 +67,7 @@ SWITCH_CONFIG = {
|
||||
},
|
||||
"nb4p": {
|
||||
"SA": { "default": "2POS" },
|
||||
"SB": { "default": "3POS" },
|
||||
"SC": { "default": "2POS" },
|
||||
"SD": { "default": "3POS" },
|
||||
"SE": { "default": "3POS" },
|
||||
"SF": { "default": "2POS" },
|
||||
"SG": { "default": "3POS" },
|
||||
"SH": { "default": "TOGGLE" }
|
||||
"SB": { "default": "2POS" }
|
||||
},
|
||||
"lr3pro": {
|
||||
# left side
|
||||
|
||||
Reference in New Issue
Block a user