From fa5e5d670bfa2661446055b07e1a8cdac67e987d Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 4 Jan 2017 18:33:31 +0100 Subject: [PATCH] [Simu] Revert to the good old keys until there is a compromise found C is used for SWC --- radio/src/simu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/simu.cpp b/radio/src/simu.cpp index 3c1280cc7..826af36c5 100644 --- a/radio/src/simu.cpp +++ b/radio/src/simu.cpp @@ -331,7 +331,7 @@ void Open9xSim::updateKeysAndSwitches(bool start) SWITCH_KEY(E, 4, 3); SWITCH_KEY(F, 5, 2); SWITCH_KEY(G, 6, 3); - SWITCH_KEY(H, 7, 2); +SWITCH_KEY(H, 7, 2); #else SWITCH_KEY(1, 0, 2); SWITCH_KEY(2, 1, 2); @@ -360,11 +360,11 @@ long Open9xSim::onTimeout(FXObject*, FXSelector, void*) #if defined(ROTARY_ENCODER_NAVIGATION) static bool rotencAction = false; - if (getApp()->getKeyState(KEY_C)) { + if (getApp()->getKeyState(KEY_X)) { if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE += ROTARY_ENCODER_GRANULARITY; rotencAction = true; } - else if (getApp()->getKeyState(KEY_X)) { + else if (getApp()->getKeyState(KEY_W)) { if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE -= ROTARY_ENCODER_GRANULARITY; rotencAction = true; }