Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device interface { Description() string // Listen asynchronously listens for key presses. Listen() error // NoteOn sets a callback function for when a key is pressed. NoteOn(func(key uint8)) // NoteOn sets a callback function for when a key is released. NoteOff(func(key uint8)) // SetDebug enables or disables debug logging. SetDebug(bool) Close() error }
func ListDevices ¶
Click to show internal directories.
Click to hide internal directories.