subtypes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelStatus

type ChannelStatus struct {
	// Key Control のリクエストを受けた時、該当 Channel に対し、Key Control を行うか否かの指定をする。
	// ON で Key Control を有効とする。無指定における解釈は実装依存とする。
	KeyControlStatus enums.KeyControlStatus `json:"key_control_status"`
	// Vibration Control のリクエストを受けた時、該当 Channel のデータに同期して Vibration を行うか否かの指定をする。
	// ON で Vibration を有効とする。
	VibrationStatus bool `json:"vibration_status"`
	// LED Control のリクエストを受けた時、該当 Channel のデータに同期して LED の制御を行う否かの指定をする。
	// ON で LED を有効とする。
	LEDStatus bool `json:"led_status"`
	// 該当 Channel に対し、Channel Type を指定する。
	ChannelType enums.ChannelType `json:"channel_type"`
}

type Exclusive

type Exclusive struct {
	Type        enums.ExclusiveType `json:"type"`
	VoiceType   enums.VoiceType     `json:"voice_type,omitempty"`
	VMAVoicePC  *voice.VMAVoicePC   `json:"vma_voice_pc,omitempty"`
	VM35VoicePC *voice.VM35VoicePC  `json:"vm35_voice_pc,omitempty"`
	Data        []uint8             `json:"data"`
	// contains filtered or unexported fields
}

func NewExclusive

func NewExclusive(variableLength bool) *Exclusive

func (*Exclusive) Read

func (x *Exclusive) Read(rdr io.Reader, rest *int) error

func (*Exclusive) String

func (x *Exclusive) String() string

Jump to

Keyboard shortcuts

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