feat(config): Added config.yaml support

This commit is contained in:
2025-08-04 21:00:18 +02:00
parent cc7f355629
commit d0d8330191
6 changed files with 175 additions and 6 deletions

View File

@@ -7,6 +7,14 @@ import (
"github.com/bendahl/uinput"
)
type ControllerList []*Controller
func (cl ControllerList) Stop() {
for _, controller := range cl {
controller.Stop()
}
}
type Controller struct {
midiInput *MidiInput
mappings []Mapping