Skip to content

Commit

Permalink
drums in launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhitman committed Mar 31, 2024
1 parent 42461ac commit 90f696d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tulip/shared/py/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 90f696d

Please sign in to comment.