gui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InputKey_name = map[int32]string{
		0: "UP",
		1: "DOWN",
		2: "RIGHT",
		3: "LEFT",
		4: "OK",
		5: "BACK",
	}
	InputKey_value = map[string]int32{
		"UP":    0,
		"DOWN":  1,
		"RIGHT": 2,
		"LEFT":  3,
		"OK":    4,
		"BACK":  5,
	}
)

Enum value maps for InputKey.

View Source
var (
	InputType_name = map[int32]string{
		0: "PRESS",
		1: "RELEASE",
		2: "SHORT",
		3: "LONG",
		4: "REPEAT",
	}
	InputType_value = map[string]int32{
		"PRESS":   0,
		"RELEASE": 1,
		"SHORT":   2,
		"LONG":    3,
		"REPEAT":  4,
	}
)

Enum value maps for InputType.

Functions

This section is empty.

Types

type InputKey

type InputKey int32
const (
	InputKey_UP    InputKey = 0
	InputKey_DOWN  InputKey = 1
	InputKey_RIGHT InputKey = 2
	InputKey_LEFT  InputKey = 3
	InputKey_OK    InputKey = 4
	InputKey_BACK  InputKey = 5
)

func (InputKey) Descriptor

func (InputKey) Descriptor() protoreflect.EnumDescriptor

func (InputKey) Enum

func (x InputKey) Enum() *InputKey

func (InputKey) EnumDescriptor deprecated

func (InputKey) EnumDescriptor() ([]byte, []int)

Deprecated: Use InputKey.Descriptor instead.

func (InputKey) Number

func (x InputKey) Number() protoreflect.EnumNumber

func (InputKey) String

func (x InputKey) String() string

func (InputKey) Type

type InputType

type InputType int32
const (
	InputType_PRESS   InputType = 0 //*< Press event, emitted after debounce
	InputType_RELEASE InputType = 1 //*< Release event, emitted after debounce
	InputType_SHORT   InputType = 2 //*< Short event, emitted after InputTypeRelease done withing INPUT_LONG_PRESS interval
	InputType_LONG    InputType = 3 //*< Long event, emmited after INPUT_LONG_PRESS interval, asynchronouse to InputTypeRelease
	InputType_REPEAT  InputType = 4 //*< Repeat event, emmited with INPUT_REPEATE_PRESS period after InputTypeLong event
)

func (InputType) Descriptor

func (InputType) Descriptor() protoreflect.EnumDescriptor

func (InputType) Enum

func (x InputType) Enum() *InputType

func (InputType) EnumDescriptor deprecated

func (InputType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InputType.Descriptor instead.

func (InputType) Number

func (x InputType) Number() protoreflect.EnumNumber

func (InputType) String

func (x InputType) String() string

func (InputType) Type

type ScreenStreamFrame

type ScreenStreamFrame struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ScreenStreamFrame) Descriptor deprecated

func (*ScreenStreamFrame) Descriptor() ([]byte, []int)

Deprecated: Use ScreenStreamFrame.ProtoReflect.Descriptor instead.

func (*ScreenStreamFrame) GetData

func (x *ScreenStreamFrame) GetData() []byte

func (*ScreenStreamFrame) ProtoMessage

func (*ScreenStreamFrame) ProtoMessage()

func (*ScreenStreamFrame) ProtoReflect

func (x *ScreenStreamFrame) ProtoReflect() protoreflect.Message

func (*ScreenStreamFrame) Reset

func (x *ScreenStreamFrame) Reset()

func (*ScreenStreamFrame) String

func (x *ScreenStreamFrame) String() string

type SendInputEventRequest

type SendInputEventRequest struct {
	Key  InputKey  `protobuf:"varint,1,opt,name=key,proto3,enum=PB_Gui.InputKey" json:"key,omitempty"`
	Type InputType `protobuf:"varint,2,opt,name=type,proto3,enum=PB_Gui.InputType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SendInputEventRequest) Descriptor deprecated

func (*SendInputEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendInputEventRequest.ProtoReflect.Descriptor instead.

func (*SendInputEventRequest) GetKey

func (x *SendInputEventRequest) GetKey() InputKey

func (*SendInputEventRequest) GetType

func (x *SendInputEventRequest) GetType() InputType

func (*SendInputEventRequest) ProtoMessage

func (*SendInputEventRequest) ProtoMessage()

func (*SendInputEventRequest) ProtoReflect

func (x *SendInputEventRequest) ProtoReflect() protoreflect.Message

func (*SendInputEventRequest) Reset

func (x *SendInputEventRequest) Reset()

func (*SendInputEventRequest) String

func (x *SendInputEventRequest) String() string

type StartScreenStreamRequest

type StartScreenStreamRequest struct {
	// contains filtered or unexported fields
}

func (*StartScreenStreamRequest) Descriptor deprecated

func (*StartScreenStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartScreenStreamRequest.ProtoReflect.Descriptor instead.

func (*StartScreenStreamRequest) ProtoMessage

func (*StartScreenStreamRequest) ProtoMessage()

func (*StartScreenStreamRequest) ProtoReflect

func (x *StartScreenStreamRequest) ProtoReflect() protoreflect.Message

func (*StartScreenStreamRequest) Reset

func (x *StartScreenStreamRequest) Reset()

func (*StartScreenStreamRequest) String

func (x *StartScreenStreamRequest) String() string

type StopScreenStreamRequest

type StopScreenStreamRequest struct {
	// contains filtered or unexported fields
}

func (*StopScreenStreamRequest) Descriptor deprecated

func (*StopScreenStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopScreenStreamRequest.ProtoReflect.Descriptor instead.

func (*StopScreenStreamRequest) ProtoMessage

func (*StopScreenStreamRequest) ProtoMessage()

func (*StopScreenStreamRequest) ProtoReflect

func (x *StopScreenStreamRequest) ProtoReflect() protoreflect.Message

func (*StopScreenStreamRequest) Reset

func (x *StopScreenStreamRequest) Reset()

func (*StopScreenStreamRequest) String

func (x *StopScreenStreamRequest) String() string

Jump to

Keyboard shortcuts

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