// @generated by protoc-gen-es v1.10.0 // @generated from file component/inputcontroller/v1/input_controller.proto (package viam.component.inputcontroller.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message viam.component.inputcontroller.v1.GetControlsRequest */ export declare class GetControlsRequest extends Message { /** * Name of an input controller * * @generated from field: string controller = 1; */ controller: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.GetControlsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetControlsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetControlsRequest; static fromJsonString(jsonString: string, options?: Partial): GetControlsRequest; static equals(a: GetControlsRequest | PlainMessage | undefined, b: GetControlsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.GetControlsResponse */ export declare class GetControlsResponse extends Message { /** * Returns a list of all the controls (buttons and axes) that are * available to a given Input Controller * * @generated from field: repeated string controls = 1; */ controls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.GetControlsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetControlsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetControlsResponse; static fromJsonString(jsonString: string, options?: Partial): GetControlsResponse; static equals(a: GetControlsResponse | PlainMessage | undefined, b: GetControlsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.GetEventsRequest */ export declare class GetEventsRequest extends Message { /** * Name of an input controller * * @generated from field: string controller = 1; */ controller: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.GetEventsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventsRequest; static fromJsonString(jsonString: string, options?: Partial): GetEventsRequest; static equals(a: GetEventsRequest | PlainMessage | undefined, b: GetEventsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.GetEventsResponse */ export declare class GetEventsResponse extends Message { /** * Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all * buttons/axes on a given input controller * * @generated from field: repeated viam.component.inputcontroller.v1.Event events = 1; */ events: Event[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.GetEventsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventsResponse; static fromJsonString(jsonString: string, options?: Partial): GetEventsResponse; static equals(a: GetEventsResponse | PlainMessage | undefined, b: GetEventsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.TriggerEventRequest */ export declare class TriggerEventRequest extends Message { /** * Name of an input controller * * @generated from field: string controller = 1; */ controller: string; /** * Digitally assert a given event * * @generated from field: viam.component.inputcontroller.v1.Event event = 2; */ event?: Event; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.TriggerEventRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TriggerEventRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TriggerEventRequest; static fromJsonString(jsonString: string, options?: Partial): TriggerEventRequest; static equals(a: TriggerEventRequest | PlainMessage | undefined, b: TriggerEventRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.TriggerEventResponse */ export declare class TriggerEventResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.TriggerEventResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TriggerEventResponse; static fromJson(jsonValue: JsonValue, options?: Partial): TriggerEventResponse; static fromJsonString(jsonString: string, options?: Partial): TriggerEventResponse; static equals(a: TriggerEventResponse | PlainMessage | undefined, b: TriggerEventResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.Event */ export declare class Event extends Message { /** * Timestamp of event * * @generated from field: google.protobuf.Timestamp time = 1; */ time?: Timestamp; /** * An event type (eg: ButtonPress, ButtonRelease) * * @generated from field: string event = 2; */ event: string; /** * A control, can be a button (eg: ButtonSouth) or an axis (eg: AbsoluteX) * * @generated from field: string control = 3; */ control: string; /** * 0 or 1 for buttons, -1.0 to +1.0 for axes * * @generated from field: double value = 4; */ value: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.Event"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Event; static fromJson(jsonValue: JsonValue, options?: Partial): Event; static fromJsonString(jsonString: string, options?: Partial): Event; static equals(a: Event | PlainMessage | undefined, b: Event | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.StreamEventsRequest */ export declare class StreamEventsRequest extends Message { /** * Name of an input controller * * @generated from field: string controller = 1; */ controller: string; /** * A list of Events * * @generated from field: repeated viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2; */ events: StreamEventsRequest_Events[]; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.StreamEventsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamEventsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StreamEventsRequest; static fromJsonString(jsonString: string, options?: Partial): StreamEventsRequest; static equals(a: StreamEventsRequest | PlainMessage | undefined, b: StreamEventsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.StreamEventsRequest.Events */ export declare class StreamEventsRequest_Events extends Message { /** * Name of a control (button or axis) * * @generated from field: string control = 1; */ control: string; /** * Specify which event types to recieve events for * * @generated from field: repeated string events = 2; */ events: string[]; /** * Specify which event types to stop recieving events for * This can be an empty list * * @generated from field: repeated string cancelled_events = 3; */ cancelledEvents: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.StreamEventsRequest.Events"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamEventsRequest_Events; static fromJson(jsonValue: JsonValue, options?: Partial): StreamEventsRequest_Events; static fromJsonString(jsonString: string, options?: Partial): StreamEventsRequest_Events; static equals(a: StreamEventsRequest_Events | PlainMessage | undefined, b: StreamEventsRequest_Events | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.StreamEventsResponse */ export declare class StreamEventsResponse extends Message { /** * Event for a controller * * @generated from field: viam.component.inputcontroller.v1.Event event = 1; */ event?: Event; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.StreamEventsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamEventsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): StreamEventsResponse; static fromJsonString(jsonString: string, options?: Partial): StreamEventsResponse; static equals(a: StreamEventsResponse | PlainMessage | undefined, b: StreamEventsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.inputcontroller.v1.Status */ export declare class Status extends Message { /** * @generated from field: repeated viam.component.inputcontroller.v1.Event events = 1; */ events: Event[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.inputcontroller.v1.Status"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Status; static fromJson(jsonValue: JsonValue, options?: Partial): Status; static fromJsonString(jsonString: string, options?: Partial): Status; static equals(a: Status | PlainMessage | undefined, b: Status | PlainMessage | undefined): boolean; }