Fix parameter increase/decrease directions

This commit is contained in:
Jasper Blanckenburg 2023-08-01 19:46:04 +02:00
parent 1eefffcbd6
commit 5121dcb74f
2 changed files with 6 additions and 6 deletions

View File

@ -78,19 +78,19 @@ void VehicleConfigViewBase::handleKeyEvent(uint8_t key)
}
if(106 == key)
if(107 == key)
{
//DecreaseParam
//When hardware button 106 clicked call virtual function
//When hardware button 107 clicked call virtual function
//Call decParam
decParam();
}
if(107 == key)
if(106 == key)
{
//IncreaseParam
//When hardware button 107 clicked call virtual function
//When hardware button 106 clicked call virtual function
//Call incParam
incParam();

View File

@ -1185,7 +1185,7 @@
"InteractionName": "DecreaseParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 106
"ButtonKey": 107
},
"Action": {
"Type": "ActionCustom",
@ -1196,7 +1196,7 @@
"InteractionName": "IncreaseParam",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 107
"ButtonKey": 106
},
"Action": {
"Type": "ActionCustom",