menu

package
v0.0.0-...-4c711ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BLACK = color.RGBA{0, 0, 0, 255}
	WHITE = color.RGBA{1, 1, 1, 255}
)

Functions

func ChangeMainMenu

func ChangeMainMenu(encoderZero *rotaryencoder.Device) bool

func RenderMainMenu

func RenderMainMenu(display *ssd1306.Device, subEncoder []*rotaryencoder.Device)

func SetupEncoderMenuRanges

func SetupEncoderMenuRanges(subEncoder []*rotaryencoder.Device)

Types

type EncoderRange

type EncoderRange struct {
	// contains filtered or unexported fields
}
type Menu int
const (
	DEBUG_LOG Menu = iota
	INCOMING_NOTE
	MIDI_CHANNEL
	DETUNE_CENTS
	// WAVEFORM
	// PULSEWIDTH
	// ATTACK
	// DECAY
	// SUSTAIN
	// RELEASE
	MENU_LENGTH
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL