Documentation
¶
Index ¶
Constants ¶
View Source
const ( // HRESULT codes S_OK = 0x00000000 E_PAGENOTACTIVE = 0xFF040001 E_BUFFERTOOSMALL = 0xFF040000 | uintptr(syscall.ERROR_BUFFER_OVERFLOW) FLAG_SET_AS_ACTIVE = 0x00000001 )
View Source
const Filename = "mfd.json"
Filename is the name of the file written with MFD data
Variables ¶
This section is empty.
Functions ¶
func DeInitDevice ¶
func DeInitDevice()
DeInitDevice unregisters the device driver interaction. Should be called before terminating the program
func InitDevice ¶
InitDevice sets up the device for use
func UpdateDisplay ¶
UpdateDisplay updates the displayed text with a new set of pages.
Types ¶
type Display ¶
type Display struct {
Pages []Page `json:"pages"`
}
Display is the main display structure to write
Click to show internal directories.
Click to hide internal directories.