Read events from multiple devices.
This commit is contained in:
parent
a5b59bf39e
commit
a078dcb193
4 changed files with 59 additions and 31 deletions
|
@ -78,3 +78,11 @@ func (rule *ComboMappingRule) MatchEvent(device *evdev.InputDevice, event *evdev
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (rule *SimpleMappingRule) OutputName() string {
|
||||
return rule.Output.DeviceName
|
||||
}
|
||||
|
||||
func (rule *ComboMappingRule) OutputName() string {
|
||||
return rule.Output.DeviceName
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue