Documentation ¶
Index ¶
- type Client
- func (c *Client) Connect() error
- func (c *Client) Disconnect() error
- func (c *Client) DumpConfiguration(noColor bool) (string, error)
- func (c *Client) GetConfiguration() (*pb.GamepadConfiguration, error)
- func (c *Client) GetDeviceInfo() (*pb.GamepadInfo, error)
- func (c *Client) GetLEDConfiguration() (*pb.LedsConfiguration, error)
- func (c *Client) GetServerVersion() (string, error)
- func (c *Client) SetConfiguration(cfg *pb.GamepadConfiguration) error
- func (c *Client) SetLEDConfiguration(cfg *pb.LedsConfiguration) error
- type FlydigiError
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 (*Client) Disconnect ¶
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 (*Client) SetConfiguration ¶
func (c *Client) SetConfiguration(cfg *pb.GamepadConfiguration) error
func (*Client) SetLEDConfiguration ¶
func (c *Client) SetLEDConfiguration(cfg *pb.LedsConfiguration) error
type FlydigiError ¶
func (FlydigiError) Error ¶
func (e FlydigiError) Error() string
Click to show internal directories.
Click to hide internal directories.