Compare commits
No commits in common. "main" and "conditions" have entirely different histories.
main
...
conditions
2 changed files with 5 additions and 7 deletions
|
|
@ -53,11 +53,9 @@ 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.")
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue