Attempt at getting the simu interface usable with the extra trims

This commit is contained in:
Andre Bernet
2016-04-02 17:03:24 +04:00
parent 1f6a711d24
commit d207a600e8
5 changed files with 14 additions and 5 deletions
@@ -141,7 +141,12 @@ void SimulatorDialogHorus::getValues()
trimPressed == TRIM_RV_DN,
trimPressed == TRIM_RV_UP,
trimPressed == TRIM_RH_L,
trimPressed == TRIM_RH_R
trimPressed == TRIM_RH_R,
0,0,0,0
/*trimPressed == TRIM_T5_DN,
trimPressed == TRIM_T5_UP,
trimPressed == TRIM_T6_DN,
trimPressed == TRIM_T6_UP*/
}
};
+1 -1
View File
@@ -37,7 +37,7 @@ for (int i=0; i<C9X_NUM_SWITCHES; i++)
simuSetSwitch(i, inputs.switches[i]);
for (int i=0; i<C9X_NUM_KEYS; i++)
simuSetKey(i, inputs.keys[i]);
for (int i=0; i<NUM_STICKS*2; i++)
for (int i=0; i<(NUM_STICKS+NUM_AUX_TRIMS)*2; i++)
simuSetTrim(i, inputs.trims[i]);
#ifdef PCBGRUVIN9X
@@ -39,7 +39,7 @@ struct TxInputs
int switches[C9X_NUM_SWITCHES];
bool keys[C9X_NUM_KEYS];
bool rotenc;
bool trims[8];
bool trims[12];
};
class TxOutputs