keymapper

package
v0.0.0-...-2889c3b Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FiftyThree = &fiftyThree{}
View Source
var Twelve = &twelve{}

Functions

This section is empty.

Types

type KeyMapper

type KeyMapper interface {
	KeyMap() map[ebiten.Key]KeyOctave
	ShowHelp(currentOctave scale.Octave, s synth.Synth)
	KeyboardImage() *ebiten.Image
	CenterRowKey() ebiten.Key
	KeyRect(k ebiten.Key) (image.Rectangle, bool)
}

type KeyOctave

type KeyOctave struct {
	Key    int
	Octave int
}

Jump to

Keyboard shortcuts

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