Documentation
¶
Index ¶
Constants ¶
View Source
const ( DelcomVendorID uint16 = 0x0FC5 DelcomProductID uint16 = 0xB080 ProductType = "USB FS IO" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DelcomSwitch ¶
type DelcomSwitch struct {
// contains filtered or unexported fields
}
func NewSwitch ¶
func NewSwitch() (*DelcomSwitch, error)
func (*DelcomSwitch) Close ¶
func (btn *DelcomSwitch) Close() error
func (*DelcomSwitch) IsPressed ¶
func (btn *DelcomSwitch) IsPressed() (bool, error)
Click to show internal directories.
Click to hide internal directories.