There was an error while loading. Please reload this page.
1 parent 0ea47d0 commit 93a78fbCopy full SHA for 93a78fb
1 file changed
src/main/java/mousemaster/ComboWatcher.java
@@ -1025,8 +1025,12 @@ else if (lastMoveIsWaitingMove) {
1025
}
1026
if (processingSet.mustBeEaten())
1027
message.append(", eaten");
1028
- if (!logRedactKeys && !currentlyPressedComboKeys.isEmpty())
1029
- message.append(", pressed ").append(currentlyPressedComboKeys);
+ // Built-in keys crowd out the ones actually typed.
+ List<Key> pressedKeys = currentlyPressedComboKeys.stream()
1030
+ .filter(key -> !BuiltInVirtualKey.KEYS.contains(key))
1031
+ .toList();
1032
+ if (!logRedactKeys && !pressedKeys.isEmpty())
1033
+ message.append(", pressed ").append(pressedKeys);
1034
if (!logRedactKeys) {
1035
if (logger.isTraceEnabled())
1036
message.append(", buffered ").append(comboPreparation);
0 commit comments