Fix parameter increase/decrease directions
This commit is contained in:
parent
1eefffcbd6
commit
5121dcb74f
|
@ -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();
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue