fix(x9e): missing F3/F4 pots, slider hwdef changes (#5012)

Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
3djc
2024-05-19 18:19:12 +10:00
committed by GitHub
co-authored by elecpower
parent f243f3aecd
commit fe8e092d30
4 changed files with 44 additions and 23 deletions
+31 -17
View File
@@ -214,34 +214,48 @@ LEGACY_NAMES = [
"short_label": "F2",
"description": "Potentiometer 2"
},
"P3": {
"yaml": "POT3",
"lua": "s3",
"label": "F3",
"short_label": "F3",
"description": "Potentiometer 3"
},
"P4": {
"yaml": "POT4",
"lua": "s4",
"label": "F4",
"short_label": "F4",
"description": "Potentiometer 4"
},
"SL1": {
"yaml": "SLIDER1",
"lua": "ls",
"label": "LS",
"short_label": "L",
"description": "Left slider"
},
"SL2": {
"yaml": "SLIDER2",
"lua": "rs",
"label": "RS",
"short_label": "R",
"description": "Right slider"
},
"SL3": {
"yaml": "SLIDER3",
"lua": "lcs",
"label": "S1",
"short_label": "S1",
"description": "Left center slider"
},
"SL4": {
"yaml": "SLIDER4",
"SL2": {
"yaml": "SLIDER2",
"lua": "rcs",
"label": "S2",
"short_label": "S2",
"description": "Right center slider"
}
},
"SL3": {
"yaml": "SLIDER3",
"lua": "ls",
"label": "LS",
"short_label": "L",
"description": "Left slider"
},
"SL4": {
"yaml": "SLIDER4",
"lua": "rs",
"label": "RS",
"short_label": "R",
"description": "Right slider"
},
}
},
{
+2
View File
@@ -128,6 +128,8 @@ POT_CONFIG = {
"x9e": {
"P1": {"default": "POT_CENTER"},
"P2": {"default": "POT_CENTER"},
"P3": {"default": "NONE"},
"P4": {"default": "NONE"},
"SL1": {"default": "SLIDER"},
"SL2": {"default": "SLIDER"},
"SL3": {"default": "SLIDER"},