gui

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 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 ScreenFrame added in v0.2.0

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

func (*ScreenFrame) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ScreenFrame.ProtoReflect.Descriptor instead.

func (*ScreenFrame) GetData added in v0.2.0

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

func (*ScreenFrame) ProtoMessage added in v0.2.0

func (*ScreenFrame) ProtoMessage()

func (*ScreenFrame) ProtoReflect added in v0.2.0

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

func (*ScreenFrame) Reset added in v0.2.0

func (x *ScreenFrame) Reset()

func (*ScreenFrame) String added in v0.2.0

func (x *ScreenFrame) 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 StartVirtualDisplayRequest added in v0.2.0

type StartVirtualDisplayRequest struct {
	FirstFrame *ScreenFrame `protobuf:"bytes,1,opt,name=first_frame,json=firstFrame,proto3" json:"first_frame,omitempty"` // optional
	// contains filtered or unexported fields
}

func (*StartVirtualDisplayRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use StartVirtualDisplayRequest.ProtoReflect.Descriptor instead.

func (*StartVirtualDisplayRequest) GetFirstFrame added in v0.5.0

func (x *StartVirtualDisplayRequest) GetFirstFrame() *ScreenFrame

func (*StartVirtualDisplayRequest) ProtoMessage added in v0.2.0

func (*StartVirtualDisplayRequest) ProtoMessage()

func (*StartVirtualDisplayRequest) ProtoReflect added in v0.2.0

func (*StartVirtualDisplayRequest) Reset added in v0.2.0

func (x *StartVirtualDisplayRequest) Reset()

func (*StartVirtualDisplayRequest) String added in v0.2.0

func (x *StartVirtualDisplayRequest) 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

type StopVirtualDisplayRequest added in v0.2.0

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

func (*StopVirtualDisplayRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use StopVirtualDisplayRequest.ProtoReflect.Descriptor instead.

func (*StopVirtualDisplayRequest) ProtoMessage added in v0.2.0

func (*StopVirtualDisplayRequest) ProtoMessage()

func (*StopVirtualDisplayRequest) ProtoReflect added in v0.2.0

func (*StopVirtualDisplayRequest) Reset added in v0.2.0

func (x *StopVirtualDisplayRequest) Reset()

func (*StopVirtualDisplayRequest) String added in v0.2.0

func (x *StopVirtualDisplayRequest) String() string

Jump to

Keyboard shortcuts

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