baseremotecontrol

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package baseremotecontrol implements a remote control for a base.

Index

Constants

View Source
const SubtypeName = resource.SubtypeName("base_remote_control")

SubtypeName is the name of the type of service.

Variables

Subtype is a constant that identifies the remote control resource subtype.

Functions

func Named added in v0.1.0

func Named(name string) resource.Name

Named is a helper for getting the named base remote control service's typed resource name.

func WrapWithReconfigurable

func WrapWithReconfigurable(s interface{}, name resource.Name) (resource.Reconfigurable, error)

WrapWithReconfigurable wraps a BaseRemoteControl as a Reconfigurable.

Types

type Service added in v0.1.0

type Service interface {
	// Close out of all remote control related systems.
	Close(ctx context.Context) error
	// controllerInputs returns the list of inputs from the controller that are being monitored for that control mode.
	ControllerInputs() []input.Control
}

A Service is the basis for the base remote control.

Directories

Path Synopsis
Package builtin implements a remote control for a base.
Package builtin implements a remote control for a base.
Package register registers all relevant baseremotecontrol models and also subtype specific functions
Package register registers all relevant baseremotecontrol models and also subtype specific functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL