[Simu] Revert to the good old keys until there is a compromise found

C is used for SWC
This commit is contained in:
Bertrand Songis
2017-01-04 18:33:31 +01:00
parent 0933a258e3
commit fa5e5d670b
+2 -2
View File
@@ -360,11 +360,11 @@ long Open9xSim::onTimeout(FXObject*, FXSelector, void*)
#if defined(ROTARY_ENCODER_NAVIGATION) #if defined(ROTARY_ENCODER_NAVIGATION)
static bool rotencAction = false; static bool rotencAction = false;
if (getApp()->getKeyState(KEY_C)) { if (getApp()->getKeyState(KEY_X)) {
if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE += ROTARY_ENCODER_GRANULARITY; if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE += ROTARY_ENCODER_GRANULARITY;
rotencAction = true; rotencAction = true;
} }
else if (getApp()->getKeyState(KEY_X)) { else if (getApp()->getKeyState(KEY_W)) {
if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE -= ROTARY_ENCODER_GRANULARITY; if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE -= ROTARY_ENCODER_GRANULARITY;
rotencAction = true; rotencAction = true;
} }