Fix up refactored rule targets.
This commit is contained in:
parent
c14ec074d1
commit
db848db810
5 changed files with 71 additions and 38 deletions
|
@ -47,6 +47,9 @@ type ProportionalAxisMappingRule struct {
|
|||
type RuleTarget interface {
|
||||
NormalizeValue(int32) int32
|
||||
CreateEvent(int32, *string) *evdev.InputEvent
|
||||
GetCode() evdev.EvCode
|
||||
GetDeviceName() string
|
||||
GetDevice() *evdev.InputDevice
|
||||
}
|
||||
|
||||
type RuleTargetBase struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue