More refactoring, start implementing proportional axis...

This commit is contained in:
Anna Rose Wiggins 2025-07-05 18:18:25 -04:00
parent cefd6a22b8
commit b9d02e6482
3 changed files with 64 additions and 41 deletions

View file

@ -33,7 +33,7 @@ func timerWatcher(rule *mappingrules.MappingRuleProportionalAxis, channel chan<-
event := rule.TimerEvent()
if event != nil {
channel <- ChannelEvent{
Device: rule.Output.(*mappingrules.RuleTargetModeSelect).Device,
Device: rule.Output.Device,
Event: event,
Type: ChannelEventTimer,
}