Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyMap = map[uint16]string{
2: "1",
3: "2",
4: "3",
5: "4",
6: "5",
7: "6",
8: "7",
9: "8",
10: "9",
11: "0",
28: "ENTER",
}
Functions ¶
This section is empty.
Types ¶
type ControlCard ¶
type MarlinBox ¶
type MarlinBox struct { DeviceName string `json:"devicename"` DevicePath string `json:"devicepath,omitempty"` ConfigPath string `json:"configpath,omitempty"` CurrentID string `json:"-"` Volume float64 `json:"-"` NextSong bool `json:"-"` Stop bool `json:"-"` Playlist []*PlayCard `json:"playlist,omitempty"` ControlCards []*ControlCard `json:"controlcards,omitempty"` Device *evdev.InputDevice `json:"-"` CurrentPlayCard *PlayCard `json:"-"` Player oto.Player `json:"-"` PlayerContext *oto.Context `json:"-"` }
func (*MarlinBox) GetCurrentCard ¶
func (mb *MarlinBox) GetCurrentCard()
Click to show internal directories.
Click to hide internal directories.