Implement config generator for AxisToButton. Use RuleTargetDevice interface more broadly.
This commit is contained in:
parent
e93187b8a5
commit
ed2627e113
9 changed files with 28 additions and 16 deletions
|
@ -22,7 +22,7 @@ func NewMappingRuleModeSelect(
|
|||
}
|
||||
|
||||
func (rule *MappingRuleModeSelect) MatchEvent(
|
||||
device *evdev.InputDevice,
|
||||
device RuleTargetDevice,
|
||||
event *evdev.InputEvent,
|
||||
mode *string) (*evdev.InputDevice, *evdev.InputEvent) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue