Files
netbird/client/vnc/server/input_uinput_freebsd.go
2026-05-21 18:09:07 +02:00

18 lines
492 B
Go

//go:build freebsd
package server
import "fmt"
// UInputInjector is a freebsd placeholder; the linux uinput implementation
// uses Linux-only ioctls (UI_DEV_CREATE etc.) and is not portable.
type UInputInjector struct {
StubInputInjector
}
// NewUInputInjector always returns an error on freebsd so callers fall back
// to a stub or platform-appropriate injector.
func NewUInputInjector(_, _ int) (*UInputInjector, error) {
return nil, fmt.Errorf("uinput not implemented on freebsd")
}