* commit 'd5c89d64901f1fe7085e6c217d0c2fc19853b032': [HW16] Implement processing event chains.
This commit is contained in:
commit
6745f337c1
1 changed files with 11 additions and 7 deletions
|
@ -426,13 +426,17 @@ public final class InputLogic {
|
||||||
cancelDoubleSpacePeriodCountdown();
|
cancelDoubleSpacePeriodCountdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (processedEvent.isConsumed()) {
|
Event currentEvent = processedEvent;
|
||||||
handleConsumedEvent(processedEvent, inputTransaction);
|
while (null != currentEvent) {
|
||||||
} else if (processedEvent.isFunctionalKeyEvent()) {
|
if (currentEvent.isConsumed()) {
|
||||||
handleFunctionalEvent(processedEvent, inputTransaction, currentKeyboardScriptId,
|
handleConsumedEvent(currentEvent, inputTransaction);
|
||||||
handler);
|
} else if (currentEvent.isFunctionalKeyEvent()) {
|
||||||
} else {
|
handleFunctionalEvent(currentEvent, inputTransaction, currentKeyboardScriptId,
|
||||||
handleNonFunctionalEvent(processedEvent, inputTransaction, handler);
|
handler);
|
||||||
|
} else {
|
||||||
|
handleNonFunctionalEvent(currentEvent, inputTransaction, handler);
|
||||||
|
}
|
||||||
|
currentEvent = currentEvent.mNextEvent;
|
||||||
}
|
}
|
||||||
if (!inputTransaction.didAutoCorrect() && processedEvent.mKeyCode != Constants.CODE_SHIFT
|
if (!inputTransaction.didAutoCorrect() && processedEvent.mKeyCode != Constants.CODE_SHIFT
|
||||||
&& processedEvent.mKeyCode != Constants.CODE_CAPSLOCK
|
&& processedEvent.mKeyCode != Constants.CODE_CAPSLOCK
|
||||||
|
|
Loading…
Reference in a new issue