Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventCustomAllDevicesSent = CustomEventType(0) EventCustomTransferAuthority = CustomEventType(1) )
Variables ¶
View Source
var ( ErrCouldNotGetInputDeviceStatistics = errors.New("could not get input device statistics") ErrCouldNotCreateNewDevice = errors.New("could not create new device") ErrCouldNotSendDeviceInfo = errors.New("could not send device info") ErrCouldNotSendEvent = errors.New("could not send event") ErrCouldNotMigrate = errors.New("could not migrate") ErrCouldNotContinueWithMigration = errors.New("could not continue with migration") ErrCouldNotHandleProtocol = errors.New("could not handle protocol") ErrCouldNotHandleNeedAt = errors.New("could not handle NeedAt") ErrCouldNotHandleDontNeedAt = errors.New("could not handle DontNeedAt") ErrCouldNotCreateMigrator = errors.New("could not create migrator") ErrCouldNotWaitForMigrationCompletion = errors.New("could not wait for migration completion") )
Functions ¶
Types ¶
type CustomEventType ¶
type CustomEventType byte
type MigrateToHooks ¶
type OpenDevicesHooks ¶
type OpenedRegistryDevice ¶
type OpenedRegistryDevice struct { RegistryDevice RegistryDevice // contains filtered or unexported fields }
func OpenDevices ¶
func OpenDevices( devices []RegistryDevice, hooks OpenDevicesHooks, ) ([]OpenedRegistryDevice, []func() error, error)
type RegistryDevice ¶
Click to show internal directories.
Click to hide internal directories.