go fmt all files.

add midi event toggle to the pooler
This commit is contained in:
onyx-and-iris
2022-08-23 14:03:07 +01:00
parent 7f992a1a87
commit 505b5969a2
2 changed files with 3 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ func (p *pooler) macrobuttons() {
func (p *pooler) midi() {
for p.run {
if getMidiMessage() {
if p.event.midi && getMidiMessage() {
p.notify("midi")
}
time.Sleep(33 * time.Millisecond)