lguf

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxBrightness uint16 = 54000
	MinBrightness uint16 = 540

	VendorID  gousb.ID = 0x043e
	ProductID gousb.ID = 0x9a40
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

func NewConnection

func NewConnection() (*Connection, error)

func (*Connection) Brightness

func (c *Connection) Brightness() (uint16, error)

func (*Connection) Close

func (c *Connection) Close()

func (*Connection) LowerBrightness

func (c *Connection) LowerBrightness(amount uint16) error

func (*Connection) RaiseBrightness

func (c *Connection) RaiseBrightness(amount uint16) error

func (*Connection) SetBrightness

func (c *Connection) SetBrightness(brightness uint16) error

Jump to

Keyboard shortcuts

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