Small fixes for config parsing, and start plumbing it into our main program.
This commit is contained in:
parent
02c8642ead
commit
eeebb6d0b1
5 changed files with 144 additions and 124 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue