forked from gluon/AbletonLive10.1_MIDIRemoteScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
41 lines (41 loc) · 1021 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/MidAir25/config.py
from __future__ import absolute_import, print_function, unicode_literals
from .consts import *
TRANSPORT_CONTROLS = {u'STOP': GENERIC_STOP,
u'PLAY': GENERIC_PLAY,
u'REC': GENERIC_REC,
u'LOOP': GENERIC_LOOP,
u'RWD': GENERIC_RWD,
u'FFWD': GENERIC_FFWD}
DEVICE_CONTROLS = (GENERIC_ENC1,
GENERIC_ENC2,
GENERIC_ENC3,
GENERIC_ENC4,
GENERIC_ENC5,
GENERIC_ENC6,
GENERIC_ENC7,
GENERIC_ENC8)
VOLUME_CONTROLS = GENERIC_SLIDERS
TRACKARM_CONTROLS = (GENERIC_BUT1,
GENERIC_BUT2,
GENERIC_BUT3,
GENERIC_BUT4,
GENERIC_BUT5,
GENERIC_BUT6,
GENERIC_BUT7,
GENERIC_BUT8)
BANK_CONTROLS = {u'TOGGLELOCK': GENERIC_BUT9,
u'BANKDIAL': -1,
u'NEXTBANK': -1,
u'PREVBANK': -1,
u'BANK1': -1,
u'BANK2': -1,
u'BANK3': -1,
u'BANK4': -1,
u'BANK5': -1,
u'BANK6': -1,
u'BANK7': -1,
u'BANK8': -1}
CONTROLLER_DESCRIPTION = {u'INPUTPORT': u'MidAir',
u'OUTPUTPORT': u'MidAir',
u'CHANNEL': 0}