client

package
v0.0.0-...-7824b26 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func Dial

func Dial() (*Client, error)

func (*Client) Connect

func (c *Client) Connect() error

func (*Client) Disconnect

func (c *Client) Disconnect() error

func (*Client) DumpConfiguration

func (c *Client) DumpConfiguration(noColor bool) (string, error)

func (*Client) GetConfiguration

func (c *Client) GetConfiguration() (*pb.GamepadConfiguration, error)

func (*Client) GetDeviceInfo

func (c *Client) GetDeviceInfo() (*pb.GamepadInfo, error)

func (*Client) GetLEDConfiguration

func (c *Client) GetLEDConfiguration() (*pb.LedsConfiguration, error)

func (*Client) GetServerVersion

func (c *Client) GetServerVersion() (string, error)

func (*Client) SetConfiguration

func (c *Client) SetConfiguration(cfg *pb.GamepadConfiguration) error

func (*Client) SetLEDConfiguration

func (c *Client) SetLEDConfiguration(cfg *pb.LedsConfiguration) error

type FlydigiError

type FlydigiError struct {
	Name    string
	Message string
}

func (FlydigiError) Error

func (e FlydigiError) Error() string

Jump to

Keyboard shortcuts

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