feat: preliminary HelloRadioSky V14 and V12 radio support (#5494)
This commit is contained in:
@@ -626,6 +626,52 @@ LEGACY_NAMES = [
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": {"v12", "v14"},
|
||||
"inputs": {
|
||||
"LH": {
|
||||
"yaml": "Rud",
|
||||
"lua": "rud",
|
||||
"description": "Rudder"
|
||||
},
|
||||
"LV": {
|
||||
"yaml": "Ele",
|
||||
"lua": "ele",
|
||||
"description": "Elevator"
|
||||
},
|
||||
"RV": {
|
||||
"yaml": "Thr",
|
||||
"lua": "thr",
|
||||
"description": "Throttle"
|
||||
},
|
||||
"RH": {
|
||||
"yaml": "Ail",
|
||||
"lua": "ail",
|
||||
"description": "Aileron"
|
||||
},
|
||||
"P1": {
|
||||
"yaml": "POT1",
|
||||
"lua": "s1",
|
||||
"label": "S1",
|
||||
"short_label": "1",
|
||||
"description": "Potentiometer 1"
|
||||
},
|
||||
"P2": {
|
||||
"yaml": "POT2",
|
||||
"lua": "s2",
|
||||
"label": "S2",
|
||||
"short_label": "2",
|
||||
"description": "Potentiometer 2"
|
||||
},
|
||||
"P3": {
|
||||
"yaml": "POT3",
|
||||
"lua": "s3",
|
||||
"label": "S3",
|
||||
"short_label": "3",
|
||||
"description": "6 pos"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": {"t20","t20v2"},
|
||||
"inputs": {
|
||||
|
||||
@@ -32,6 +32,16 @@ POT_CONFIG = {
|
||||
"EXT3": {"default": "MULTIPOS"},
|
||||
"EXT4": {"default": "MULTIPOS"}
|
||||
},
|
||||
"v12": {
|
||||
"P1": {"default": "POT_CENTER"},
|
||||
"P2": {"default": "POT_CENTER"},
|
||||
"P3": {"default": "MULTIPOS"},
|
||||
},
|
||||
"v14": {
|
||||
"P1": {"default": "POT_CENTER"},
|
||||
"P2": {"default": "POT_CENTER"},
|
||||
"P3": {"default": "MULTIPOS"},
|
||||
},
|
||||
"v16": {
|
||||
"P1": {"default": "POT_CENTER"},
|
||||
"P2": {"default": "MULTIPOS"},
|
||||
|
||||
@@ -69,6 +69,26 @@ SWITCH_CONFIG = {
|
||||
"SG": {"default": "3POS"},
|
||||
"SH": {"default": "TOGGLE"}
|
||||
},
|
||||
"v12": {
|
||||
# left side
|
||||
"SA": {"default": "3POS", "display": [0, 0]},
|
||||
"SB": {"default": "3POS", "display": [0, 1]},
|
||||
"SE": {"default": "2POS", "display": [0, 2]},
|
||||
# right side
|
||||
"SC": {"default": "3POS", "display": [1, 0]},
|
||||
"SD": {"default": "3POS", "display": [1, 1]},
|
||||
"SF": {"default": "TOGGLE", "display": [1, 2]},
|
||||
},
|
||||
"v14": {
|
||||
# left side
|
||||
"SA": {"default": "3POS", "display": [0, 0]},
|
||||
"SB": {"default": "3POS", "display": [0, 1]},
|
||||
"SE": {"default": "2POS", "display": [0, 2]},
|
||||
# right side
|
||||
"SC": {"default": "3POS", "display": [1, 0]},
|
||||
"SD": {"default": "3POS", "display": [1, 1]},
|
||||
"SF": {"default": "TOGGLE", "display": [1, 2]},
|
||||
},
|
||||
"v16": {
|
||||
"SA": {"default": "3POS"},
|
||||
"SB": {"default": "3POS"},
|
||||
|
||||
Reference in New Issue
Block a user