feat: add device hotplug event notifications (USB on Linux)

This commit is contained in:
easyzoom
2026-02-14 13:56:08 +08:00
parent 5872e0f55e
commit 378045510d
8 changed files with 470 additions and 0 deletions

5
pkg/devices/source.go Normal file
View File

@@ -0,0 +1,5 @@
package devices
import "github.com/sipeed/picoclaw/pkg/devices/events"
type EventSource = events.EventSource