joyful/cmd/joyful/types.go
Anna Rose Wiggins e1940006d8 Support live re-loading of rules. (#2)
Reviewed-on: #2
Co-authored-by: Anna Rose Wiggins <annabunches@gmail.com>
Co-committed-by: Anna Rose Wiggins <annabunches@gmail.com>
2025-07-15 23:38:53 +00:00

17 lines
280 B
Go

package main
import "github.com/holoplot/go-evdev"
type ChannelEventType int
const (
ChannelEventInput ChannelEventType = iota
ChannelEventTimer
ChannelEventReload
)
type ChannelEvent struct {
Type ChannelEventType
Device *evdev.InputDevice
Event *evdev.InputEvent
}