am 6474ef99: Merge "[HW16] Implement processing event chains." into lmp-dev
* commit '6474ef9925e538d19aed24d53753ec1b0d5ae30c': [HW16] Implement processing event chains.main
commit
d5c89d6490
|
@ -426,13 +426,17 @@ public final class InputLogic {
|
|||
cancelDoubleSpacePeriodCountdown();
|
||||
}
|
||||
|
||||
if (processedEvent.isConsumed()) {
|
||||
handleConsumedEvent(processedEvent, inputTransaction);
|
||||
} else if (processedEvent.isFunctionalKeyEvent()) {
|
||||
handleFunctionalEvent(processedEvent, inputTransaction, currentKeyboardScriptId,
|
||||
handler);
|
||||
} else {
|
||||
handleNonFunctionalEvent(processedEvent, inputTransaction, handler);
|
||||
Event currentEvent = processedEvent;
|
||||
while (null != currentEvent) {
|
||||
if (currentEvent.isConsumed()) {
|
||||
handleConsumedEvent(currentEvent, inputTransaction);
|
||||
} else if (currentEvent.isFunctionalKeyEvent()) {
|
||||
handleFunctionalEvent(currentEvent, inputTransaction, currentKeyboardScriptId,
|
||||
handler);
|
||||
} else {
|
||||
handleNonFunctionalEvent(currentEvent, inputTransaction, handler);
|
||||
}
|
||||
currentEvent = currentEvent.mNextEvent;
|
||||
}
|
||||
if (!inputTransaction.didAutoCorrect() && processedEvent.mKeyCode != Constants.CODE_SHIFT
|
||||
&& processedEvent.mKeyCode != Constants.CODE_CAPSLOCK
|
||||
|
|
Loading…
Reference in New Issue