[Simu] Revert to the good old keys until there is a compromise found
C is used for SWC
This commit is contained in:
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user