Some echo tests added.

This commit is contained in:
Storm Dragon committed 2026-10-27 00:40:49 -04:00
1 parent 8a32895457
commit eb5b2038d6
38 files changed
+1739 -31

No files matched your search

+4 -1
View File
@@ -218,7 +218,6 @@ func DefaultCommandBindings(layout KeyboardLayout) CommandBindings {
{Symbol: 'v', Modifiers: 1, CthulhuModifier: true}: PresentVersion,
{Symbol: 'a', CthulhuModifier: true}: ToggleDocumentMode,
{Symbol: 'h', CthulhuModifier: true}: ToggleLearnMode,
{Symbol: 0xffbe, CthulhuModifier: true}: ToggleLearnMode,
{Symbol: 'h', Modifiers: 1, CthulhuModifier: true}: DocumentPreviousHeading,
{Symbol: 'k', CthulhuModifier: true, Modifiers: controlModifier}: DocumentNextLink,
{Symbol: 'k', Modifiers: controlModifier | 1, CthulhuModifier: true}: DocumentPreviousLink,
@@ -236,6 +235,10 @@ func DefaultCommandBindings(layout KeyboardLayout) CommandBindings {
{Symbol: leftKeySymbol, Modifiers: controlModifier, CthulhuModifier: true}: ObjectPreviousSibling,
{Symbol: rightKeySymbol, Modifiers: controlModifier, CthulhuModifier: true}: ObjectNextSibling,
}
for index := 0; index < 9; index++ {
bindings[CommandChord{Symbol: 0xffbe + uint32(index), CthulhuModifier: true}] = MessageCommand(index, false)
bindings[CommandChord{Symbol: 0xffbe + uint32(index), Modifiers: 1, CthulhuModifier: true}] = MessageCommand(index, true)
}
if layout == DesktopKeyboardLayout {
bindings[CommandChord{Symbol: 'o', CthulhuModifier: true}] = OCRWindow
bindings[CommandChord{Symbol: 0xffab}] = ReadAll // KP_Add