Files
beatglow/hardware/input.go
T
2026-10-29 17:29:41 +01:00

29 lines
326 B
Go

package hardware
import "time"
type Input interface {
Events() <-chan InputEvent
}
type InputEvent interface {
}
type (
RotaryEvent struct {
Time time.Time
Input Input
Delta int
}
RotaryPressEvent struct {
Time time.Time
Input Input
}
RotaryLongPressEvent struct {
Time time.Time
Input Input
}
)