Documentation ¶
Index ¶
Constants ¶
View Source
const ( FrameDLE = 0x10 // "data link escape" FrameESC = 0x00 // escape FrameSTX = 0x02 // start FrameETX = 0x03 // end )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryFormat ¶
type BinaryFormat string
const ( FormatHex BinaryFormat = "[% x]" FormatBinary BinaryFormat = "%08b" )
type EventType ¶
type EventType uint16
const ( EventReady EventType = 0x0101 EventLEDs EventType = 0x0102 EventMessage EventType = 0x0103 EventUpdate EventType = 0x040a EventPumpRequest EventType = 0x0c01 EventPumpStatus EventType = 0x000c EventLocalKey EventType = 0x0002 // key press on main console EventRemoteKey EventType = 0x0003 // key press on wired remote EventWirelessKey EventType = 0x0083 // key press on wireless remote )
func NewEventType ¶
type Key ¶
type Key uint32
const ( KeyNone Key = 0x00000 KeyRight Key = 0x00001 KeyMenu Key = 0x00002 KeyLeft Key = 0x00004 KeyService Key = 0x00008 KeyMinus Key = 0x00010 KeyPlus Key = 0x00020 KeyPoolSpa Key = 0x00040 KeyFilter Key = 0x00080 KeyLights Key = 0x00100 KeyAux1 Key = 0x00200 KeyAux2 Key = 0x00400 KeyAux3 Key = 0x00800 KeyAux4 Key = 0x01000 KeyAux5 Key = 0x02000 KeyAux6 Key = 0x04000 KeyAux7 Key = 0x08000 KeyValve3 Key = 0x10000 KeyValve4 Key = 0x20000 KeyHeater Key = 0x40000 )
Click to show internal directories.
Click to hide internal directories.