Default laptop key set to capslock. Keys that can be set to fenrir key or script key selectable via checkbox.

This commit is contained in:
Storm Dragon committed 2026-10-29 18:01:42 -04:00
1 parent 47f18fdd28
commit 15e04aa8f8
47 files changed
+1560 -351

No files matched your search

+8
View File
@@ -78,6 +78,9 @@ func new_session(settings config.Settings, order []string, title string, applica
return err
}
}
if section.ID == "keyboard" && !application {
tab.Controls = append(tab.Controls, modifier_controls(settings)...)
}
if section.ID == "presentation.speech" {
driver, _ := speech.Find_driver(settings.Presentation.Speech.Driver)
tab.Controls = append(tab.Controls, interaction.Control{ID: "speech.test", Label: "Test synthesizer", Group: "Speech", Kind: interaction.Button, Action: "test-synthesizer", Hidden: !driver.Hardware})
@@ -219,6 +222,11 @@ func settings_values(session *interaction.Session, base config.Settings, applica
return config.Settings{}, err
}
}
if !application {
if err := modifier_settings(values, &base); err != nil {
return config.Settings{}, err
}
}
// Inactive Speech Dispatcher choices stay in the form's draft for switching
// back, but cannot be sent to or saved as selections for a hardware driver.
for _, definition := range config.Definitions() {