Skip to content

Commit ebc5ed8

Browse files
committed
MPE toggling and custom launchpad colors
1 parent 11084dd commit ebc5ed8

File tree

6 files changed

+286
-191
lines changed

6 files changed

+286
-191
lines changed

midimech.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010

1111
from src.util import *
1212
from src.constants import *
13-
from src.options import Options
1413
from src.note import Note
1514
from src.settings import DeviceSettings
1615
from src.core import Core
1716
from src.gamepad import Gamepad
1817

18+
# suppress pygame messages to keep console clean
1919
with open(os.devnull, "w") as devnull:
20-
# suppress pygame messages
2120
stdout = sys.stdout
2221
sys.stdout = devnull
2322
import pygame, pygame.midi, pygame.gfxdraw
2423

2524
sys.stdout = stdout
2625
import pygame_gui
2726

27+
# pymsgbox crashes on Mac, so we can't use this right now
2828
# try:
2929
# import pymsgbox
3030
# except ImportError:
@@ -52,9 +52,6 @@
5252
error("The project dependencies have changed! Run the requirements setup command again!")
5353

5454

55-
DEFAULT_OPTIONS = Options()
56-
57-
5855
def main():
5956
core = None
6057
try:

0 commit comments

Comments
 (0)