From 90f696df1f825a50aee151931d3bb4e5ea6ed3f1 Mon Sep 17 00:00:00 2001 From: Brian Whitman Date: Sun, 31 Mar 2024 13:39:06 -0400 Subject: [PATCH] drums in launcher --- tulip/shared/py/ui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tulip/shared/py/ui.py b/tulip/shared/py/ui.py index ca1358a3d..7d88fcbd0 100644 --- a/tulip/shared/py/ui.py +++ b/tulip/shared/py/ui.py @@ -266,6 +266,8 @@ def launcher_cb(e): lv_launcher = None if(text=="Juno-6"): tulip.run('juno6') + if(text=="Drums"): + tulip.run('drums') if(text=="Keyboard"): keyboard() if(text=="Wordpad"): @@ -297,6 +299,8 @@ def launcher(ignore=True): b_close.add_event_cb(launcher_cb, lv.EVENT.CLICKED, None) b_juno = lv_launcher.add_button(lv.SYMBOL.AUDIO, "Juno-6") b_juno.add_event_cb(launcher_cb, lv.EVENT.CLICKED, None) + b_drums = lv_launcher.add_button(lv.SYMBOL.NEXT, "Drums") + b_drums.add_event_cb(launcher_cb, lv.EVENT.CLICKED, None) b_keyboard = lv_launcher.add_button(lv.SYMBOL.KEYBOARD, "Keyboard") b_keyboard.add_event_cb(launcher_cb, lv.EVENT.CLICKED, None) b_wordpad = lv_launcher.add_button(lv.SYMBOL.FILE, "Wordpad")