Compare commits

..

No commits in common. "main" and "conditions" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View file

@ -53,12 +53,10 @@ func main() {
rules, eventChannel, cancel, wg := loadRules(config, pDevices, vDevicesByName, modes) rules, eventChannel, cancel, wg := loadRules(config, pDevices, vDevicesByName, modes)
// initialize TTS phrases for modes // initialize TTS phrases for modes
if !ttsOps.Disabled {
for _, m := range modes { for _, m := range modes {
tts.AddMessage(m) tts.AddMessage(m)
logger.LogDebugf("Added TTS message '%s'", m) logger.LogDebugf("Added TTS message '%s'", m)
} }
}
fmt.Println("Joyful Running! Press Ctrl+C to quit. Press Enter to reload rules.") fmt.Println("Joyful Running! Press Ctrl+C to quit. Press Enter to reload rules.")
if len(modes) > 0 { if len(modes) > 0 {

View file

@ -63,7 +63,7 @@ rules:
device: flightstick device: flightstick
axis: X axis: X
inverted: true # the lower half of the axis will often need to be inverted inverted: true # the lower half of the axis will often need to be inverted
input_upper: input_uppper:
device: flightstick device: flightstick
axis: RX axis: RX
output: output: