feat: Radiomaster TX15 support (#6484)
Co-authored-by: Malte Langermann <54738901+gagarinlg@users.noreply.github.com> Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
Malte Langermann
3djc
raphaelcoeffic
philmoz
Peter Feerick
parent
3a00c0812b
commit
324b2c7761
@@ -90,7 +90,7 @@ LEGACY_NAMES = [
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": {"t15"},
|
||||
"targets": {"t15", "tx15"},
|
||||
"inputs": {
|
||||
"LH": {
|
||||
"yaml": "Rud",
|
||||
|
||||
@@ -142,6 +142,10 @@ POT_CONFIG = {
|
||||
"SL1": {"default": "SLIDER"},
|
||||
"SL2": {"default": "SLIDER"}
|
||||
},
|
||||
"tx15": {
|
||||
"P1": {"default": "POT"},
|
||||
"P2": {"default": "POT"},
|
||||
},
|
||||
"tx16s": {
|
||||
"P1": {"default": "POT_CENTER"},
|
||||
"P2": {"default": "MULTIPOS"},
|
||||
|
||||
@@ -382,6 +382,21 @@ SWITCH_CONFIG = {
|
||||
"SF": {"default": "3POS", "display": [1, 2]},
|
||||
"SH": {"default": "NONE", "display": [1, 3]}
|
||||
},
|
||||
"tx15": {
|
||||
"SA": {"default": "3POS"},
|
||||
"SB": {"default": "3POS"},
|
||||
"SC": {"default": "3POS"},
|
||||
"SD": {"default": "3POS"},
|
||||
"SE": {"default": "2POS"},
|
||||
"SF": {"default": "TOGGLE"},
|
||||
# custom switches
|
||||
"SG": {"default": "2POS"},
|
||||
"SH": {"default": "2POS"},
|
||||
"SI": {"default": "2POS"},
|
||||
"SJ": {"default": "2POS"},
|
||||
"SK": {"default": "2POS"},
|
||||
"SL": {"default": "2POS"},
|
||||
},
|
||||
"tx16s": {
|
||||
"SA": {"default": "3POS"},
|
||||
"SB": {"default": "3POS"},
|
||||
|
||||
Reference in New Issue
Block a user