Small fixes for config parsing, and start plumbing it into our main program.

This commit is contained in:
Anna Rose Wiggins 2025-06-28 22:30:59 -04:00
parent 02c8642ead
commit eeebb6d0b1
5 changed files with 144 additions and 124 deletions

View file

@ -16,8 +16,9 @@ type PhysicalDeviceConfig struct {
}
type VirtualDeviceConfig struct {
NumButtons int `yaml:"num_buttons"`
NumAxes int `yaml:"num_axes"`
Name string `yaml:"name"`
Buttons int `yaml:"buttons"`
Axes int `yaml:"axes"`
}
type RuleConfig struct {