Skip to content

Instantly share code, notes, and snippets.

@fessyfoo
Created February 12, 2025 17:10
Show Gist options
  • Save fessyfoo/783c640da91c3c1c8f9e0a10df7a1b73 to your computer and use it in GitHub Desktop.
Save fessyfoo/783c640da91c3c1c8f9e0a10df7a1b73 to your computer and use it in GitHub Desktop.
model file for using an mt12 with an esk8 uses the back button to switch between 4 "modes"
semver: 2.10.0
header:
name: "ESK8 Btn"
modelId:
0:
val: 1
1:
val: 1
telemetryProtocol: 0
thrTrim: 0
noGlobalFunctions: 0
displayTrims: 2
ignoreSensorIds: 0
trimInc: 0
disableThrottleWarning: 0
displayChecklist: 0
extendedLimits: 0
extendedTrims: 0
throttleReversed: 0
enableCustomThrottleWarning: 0
disableTelemetryWarning: 0
showInstanceIds: 0
checklistInteractive: 0
hatsMode: GLOBAL
customThrottleWarningPosition: 0
beepANACenter: 0
mixData:
-
weight: 100
destCh: 0
srcRaw: ch(1)
carryTrim: 0
mixWarn: 0
mltpx: ADD
offset: 0
swtch: "NONE"
flightModes: 000000000
delayUp: 0
delayDown: 0
speedUp: 0
speedDown: 0
name: ""
-
weight: 100
destCh: 1
srcRaw: I0
carryTrim: 0
mixWarn: 0
mltpx: ADD
offset: 0
swtch: "NONE"
flightModes: 000000000
delayUp: 0
delayDown: 0
speedUp: 0
speedDown: 0
name: ""
expoData:
-
mode: 2
scale: 0
trimSource: 1
srcRaw: TH
chn: 0
swtch: "!L1"
flightModes: 000000000
weight: GV1
name: "Tup"
offset: 0
curve:
type: 1
value: GV3
-
mode: 1
scale: 0
trimSource: 0
srcRaw: TH
chn: 0
swtch: "!L1"
flightModes: 000000000
weight: GV2
name: "Tdn"
offset: 0
curve:
type: 1
value: GV4
logicalSw:
0:
func: FUNC_AND
def: "!L6,L7"
andsw: "NONE"
delay: 0
duration: 0
1:
func: FUNC_AND
def: "L6,L7"
andsw: "NONE"
delay: 0
duration: 0
2:
func: FUNC_AND
def: "!L6,!L7"
andsw: "NONE"
delay: 0
duration: 0
3:
func: FUNC_AND
def: "L6,!L7"
andsw: "NONE"
delay: 0
duration: 0
5:
func: FUNC_STICKY
def: "SD2,SD2"
andsw: "NONE"
delay: 0
duration: 0
6:
func: FUNC_STICKY
def: "!L6,!L6"
andsw: "NONE"
delay: 0
duration: 0
customFn:
0:
swtch: "L1"
func: RGB_LED
def: "off,1"
1:
swtch: "L2"
func: RGB_LED
def: "blue,1"
2:
swtch: "L3"
func: RGB_LED
def: "green,1"
3:
swtch: "L4"
func: RGB_LED
def: "red,1"
flightModeData:
0:
trim:
4:
value: -6
mode: 0
name: "Max"
swtch: "NONE"
fadeIn: 0
fadeOut: 0
gvars:
0:
val: 100
1:
val: 100
2:
val: 30
3:
val: 30
4:
val: 0
5:
val: 0
6:
val: 0
7:
val: 0
8:
val: 0
1:
name: "Mid"
swtch: "L3"
fadeIn: 0
fadeOut: 0
gvars:
0:
val: 80
1:
val: 80
2:
name: "Min"
swtch: "L2"
fadeIn: 0
fadeOut: 0
gvars:
0:
val: 50
1:
val: 80
3:
name: "Disarm"
swtch: "L1"
fadeIn: 0
fadeOut: 0
thrTraceSrc: TH
switchWarningState:
gvars:
0:
name: "Thr"
min: 1024
max: 924
popup: 0
prec: 0
unit: 1
1:
name: "Brk"
min: 1024
max: 924
popup: 0
prec: 0
unit: 1
2:
name: "Tex"
min: 924
max: 924
popup: 0
prec: 0
unit: 0
3:
name: "Bex"
min: 924
max: 924
popup: 0
prec: 0
unit: 0
rssiSource: none
rfAlarms:
warning: 45
critical: 42
thrTrimSw: 0
potsWarnMode: WARN_OFF
jitterFilter: GLOBAL
moduleData:
0:
type: TYPE_CROSSFIRE
subType: 0
channelsStart: 0
channelsCount: 16
failsafeMode: NOT_SET
mod:
crsf:
telemetryBaudrate: 0
inputNames:
0:
val: "TH"
potsWarnEnabled: 0
telemetrySensors:
0:
id1:
id: 20
id2:
instance: 0
label: "1RSS"
subId: 0
type: TYPE_CUSTOM
unit: 17
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
1:
id1:
id: 20
id2:
instance: 1
label: "2RSS"
subId: 0
type: TYPE_CUSTOM
unit: 17
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
2:
id1:
id: 20
id2:
instance: 2
label: "RQly"
subId: 0
type: TYPE_CUSTOM
unit: 13
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
3:
id1:
id: 20
id2:
instance: 3
label: "RSNR"
subId: 0
type: TYPE_CUSTOM
unit: 17
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
4:
id1:
id: 20
id2:
instance: 4
label: "ANT"
subId: 0
type: TYPE_CUSTOM
unit: 0
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
5:
id1:
id: 20
id2:
instance: 5
label: "RFMD"
subId: 0
type: TYPE_CUSTOM
unit: 0
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
6:
id1:
id: 20
id2:
instance: 6
label: "TPWR"
subId: 0
type: TYPE_CUSTOM
unit: 16
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
7:
id1:
id: 20
id2:
instance: 7
label: "TRSS"
subId: 0
type: TYPE_CUSTOM
unit: 17
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
8:
id1:
id: 20
id2:
instance: 8
label: "TQly"
subId: 0
type: TYPE_CUSTOM
unit: 13
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
9:
id1:
id: 20
id2:
instance: 9
label: "TSNR"
subId: 0
type: TYPE_CUSTOM
unit: 17
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
10:
id1:
id: 8
id2:
instance: 0
label: "RxBt"
subId: 0
type: TYPE_CUSTOM
unit: 1
prec: 1
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
11:
id1:
id: 8
id2:
instance: 1
label: "Curr"
subId: 0
type: TYPE_CUSTOM
unit: 2
prec: 1
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
12:
id1:
id: 8
id2:
instance: 2
label: "Capa"
subId: 0
type: TYPE_CUSTOM
unit: 14
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
13:
id1:
id: 8
id2:
instance: 3
label: "Bat%"
subId: 0
type: TYPE_CUSTOM
unit: 13
prec: 0
autoOffset: 0
filter: 0
logs: 1
persistent: 0
onlyPositive: 0
cfg:
custom:
ratio: 0
offset: 0
screens:
0:
type: VALUES
u:
lines:
0:
sources:
0:
val: tele(6)
1:
val: tele(10)
1:
sources:
0:
val: tele(8)
1:
val: tele(2)
2:
sources:
0:
val: gv(0)
1:
val: ch(0)
3:
sources:
0:
val: gv(1)
1:
val: ch(1)
view: 0
modelRegistrationID: ""
usbJoystickExtMode: 0
usbJoystickIfMode: JOYSTICK
usbJoystickCircularCut: 0
radioGFDisabled: GLOBAL
radioTrainerDisabled: GLOBAL
modelHeliDisabled: GLOBAL
modelFMDisabled: GLOBAL
modelCurvesDisabled: GLOBAL
modelGVDisabled: GLOBAL
modelLSDisabled: GLOBAL
modelSFDisabled: GLOBAL
modelCustomScriptsDisabled: GLOBAL
modelTelemetryDisabled: GLOBAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment