Handle buttons & encoders in View, not Model
This commit is contained in:
@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user