baseremotecontrol

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package baseremotecontrol implements a remote control for a base.

Index

Constants

View Source
const SubtypeName = "base_remote_control"

SubtypeName is the name of the type of service.

Variables

View Source
var API = resource.APINamespaceRDK.WithServiceType(SubtypeName)

API is a variable that identifies the remote control resource API.

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.

Types

type Service added in v0.1.0

type Service interface {
	resource.Resource
	// 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 API specific functions
Package register registers all relevant baseremotecontrol models and also API specific functions

Jump to

Keyboard shortcuts

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