Fix up refactored rule targets.

This commit is contained in:
Anna Rose Wiggins 2025-07-04 12:34:39 -04:00
parent c14ec074d1
commit db848db810
5 changed files with 71 additions and 38 deletions

View file

@ -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 {