Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CanvasConfig ¶
type Config ¶
type Config struct { Name string Keyboard string `yaml:"keyboard,omitempty"` Canvas CanvasConfig Layers []Layer `yaml:"layers,omitempty"` Layout LayoutConfig }
type LayoutConfig ¶
type LayoutConfig struct { Macro string `yaml:"macro"` Keys []LayoutKeyConfig `yaml:"keys"` }
type LayoutKeyConfig ¶
type RenderedLayer ¶
type Renderer ¶
type Renderer interface { RenderAllLayers(*Config) ([]*RenderedLayer, error) RenderLayer(*Config, string) (*RenderedLayer, error) }
func NewRenderer ¶
func NewRenderer() Renderer
Click to show internal directories.
Click to hide internal directories.