models

package
v0.0.0-...-2e611e0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JoystickCommand

type JoystickCommand struct {
	Button string
	Value  int16
}

JoystickCommand is a message object to hold data from joystick events

func (JoystickCommand) Publish

func (jcmd JoystickCommand) Publish(natsAdapter *nats.Adaptor)

Publish message from joystick to nats adapter

Jump to

Keyboard shortcuts

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