Handle buttons & encoders in View, not Model

This commit is contained in:
2023-03-07 21:58:28 +01:00
parent 38d3d765ad
commit d26339e265
19 changed files with 257 additions and 165 deletions

View File

@ -110,7 +110,30 @@
"RelativeFilename": "logo_dv_small_white.png"
}
],
"Interactions": []
"Interactions": [
{
"InteractionName": "SelectNextMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 23
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "incMission"
}
},
{
"InteractionName": "SelectPrevMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 24
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "decMission"
}
}
]
}
],
"CustomContainerDefinitions": [