Attempt at getting the simu interface usable with the extra trims
This commit is contained in:
@@ -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*/
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user