Merge "[HW16] Implement processing event chains." into lmp-dev
commit
6474ef9925
|
@ -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);
|
||||||
|
} else if (currentEvent.isFunctionalKeyEvent()) {
|
||||||
|
handleFunctionalEvent(currentEvent, inputTransaction, currentKeyboardScriptId,
|
||||||
handler);
|
handler);
|
||||||
} else {
|
} else {
|
||||||
handleNonFunctionalEvent(processedEvent, inputTransaction, handler);
|
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 New Issue