1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 04:15:26 +03:00

18 switches displayed on main screen, thanks Martin for the graphics and

font!
This commit is contained in:
bsongis 2014-11-30 22:52:46 +01:00
parent 5d926eeffd
commit 845e9890bb
3 changed files with 70 additions and 7 deletions

View file

@ -281,7 +281,26 @@ long Open9xSim::onTimeout(FXObject*, FXSelector, void*)
} \
simuSetSwitch(swtch, state_##swtch-states);
#if defined(PCBTARANIS)
#if defined(PCBTARANIS) && defined(REV9E)
SWITCH_KEY(A, 0, 3);
SWITCH_KEY(B, 1, 3);
SWITCH_KEY(C, 2, 3);
SWITCH_KEY(D, 3, 3);
SWITCH_KEY(E, 4, 3);
SWITCH_KEY(F, 5, 3);
SWITCH_KEY(G, 6, 3);
SWITCH_KEY(H, 7, 3);
SWITCH_KEY(I, 8, 3);
SWITCH_KEY(J, 9, 3);
SWITCH_KEY(K, 10, 3);
SWITCH_KEY(L, 11, 3);
SWITCH_KEY(M, 12, 3);
SWITCH_KEY(N, 13, 3);
SWITCH_KEY(O, 14, 3);
SWITCH_KEY(P, 15, 3);
SWITCH_KEY(Q, 16, 3);
SWITCH_KEY(R, 17, 3);
#elif defined(PCBTARANIS)
SWITCH_KEY(A, 0, 3);
SWITCH_KEY(B, 1, 3);
SWITCH_KEY(C, 2, 3);