Fix combo rules and add some example config.
This commit is contained in:
parent
428749a519
commit
a5b59bf39e
6 changed files with 93 additions and 6 deletions
|
@ -10,12 +10,14 @@ type MappingRule interface {
|
|||
type SimpleMappingRule struct {
|
||||
Input RuleTarget
|
||||
Output RuleTarget
|
||||
Name string
|
||||
}
|
||||
|
||||
// A Combo Mapping Rule can require multiple physical button presses for a single output button
|
||||
type ComboMappingRule struct {
|
||||
Inputs []RuleTarget
|
||||
Output RuleTarget
|
||||
Name string
|
||||
State int
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue