aboutsummaryrefslogtreecommitdiffstats
path: root/midi_controller_launchpad_mini.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2022-01-01 15:49:06 +0100
committerEddy Pedroni <eddy@0xf7.com>2022-01-01 15:49:06 +0100
commit328d9ae201cabe8e4189736cd806ecea7b675200 (patch)
tree97f198c5f4b3f3ceff0b39690f703b73d2f69de1 /midi_controller_launchpad_mini.py
parent71f6a49110b6696ca6ac7956baa4edaa1aaa9527 (diff)
Added previous/next song buttons to MIDI interface, updated known issues
Diffstat (limited to 'midi_controller_launchpad_mini.py')
-rw-r--r--midi_controller_launchpad_mini.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/midi_controller_launchpad_mini.py b/midi_controller_launchpad_mini.py
index 16c819c..55c0ec0 100644
--- a/midi_controller_launchpad_mini.py
+++ b/midi_controller_launchpad_mini.py
@@ -12,8 +12,10 @@ class MidiController:
self._handlers = {
112 : self._playPause,
- 96 : self._stop,
- 101 : self._jumpToA
+ 96 : self._soloTool.stop,
+ 101 : self._soloTool.jumpToA,
+ 118 : self._soloTool.previousSong,
+ 119 : self._soloTool.nextSong
}
def connect(self):
@@ -33,8 +35,3 @@ class MidiController:
else:
self._soloTool.play()
- def _stop(self):
- self._soloTool.stop()
-
- def _jumpToA(self):
- self._soloTool.jumpToA()