Add 'Z' as key to the rotary encoder emulation (#3881)
This helps us people with non AZERTY keyboards that have Z left to the X. Doesn't help German layouts with 'Y' next to 'X' but that key is already used as trim key.
This commit is contained in:
committed by
Bertrand Songis
parent
88e1740422
commit
c4a1dc4c70
+1
-1
@@ -364,7 +364,7 @@ long Open9xSim::onTimeout(FXObject*, FXSelector, void*)
|
||||
if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE += ROTARY_ENCODER_GRANULARITY;
|
||||
rotencAction = true;
|
||||
}
|
||||
else if (getApp()->getKeyState(KEY_W)) {
|
||||
else if (getApp()->getKeyState(KEY_W) || getApp()->getKeyState(KEY_Z)) {
|
||||
if (!rotencAction) ROTARY_ENCODER_NAVIGATION_VALUE -= ROTARY_ENCODER_GRANULARITY;
|
||||
rotencAction = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user