Buttons for trims T5 and T6 were not working in simu (fix #7167) (#7243)

Buttons for trims T5 and T6 were not working in simu (fix #7167)
This commit is contained in:
Andre Bernet
2020-01-03 12:16:26 +01:00
committed by Bertrand Songis
parent 3e4c67b273
commit abc70f1a5a
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ void OpenTxSim::updateKeysAndSwitches(bool start)
static FXuint trimKeys[] = { KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_F10, KEY_F11, KEY_F12 };
#endif
for (unsigned i=0; i<2*NUM_TRIMS; i++) {
for (unsigned i=0; i<NUM_TRIMS_KEYS; i++) {
simuSetTrim(i, getApp()->getKeyState(trimKeys[i]));
}