forked from gluon/AbletonLive10.1_MIDIRemoteScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
consts.py
81 lines (81 loc) · 1.55 KB
/
consts.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/O2/consts.py
from __future__ import absolute_import, print_function, unicode_literals
ID_REQUEST = 0
ID_RESP = 0
GENERIC_STOP = -1
GENERIC_PLAY = -1
GENERIC_REC = -1
GENERIC_LOOP = -1
GENERIC_RWD = -1
GENERIC_FFWD = -1
GENERIC_TRANSPORT = (GENERIC_STOP,
GENERIC_PLAY,
GENERIC_REC,
GENERIC_LOOP,
GENERIC_RWD,
GENERIC_FFWD)
GENERIC_ENC1 = 73
GENERIC_ENC2 = 72
GENERIC_ENC3 = 74
GENERIC_ENC4 = 71
GENERIC_ENC5 = 5
GENERIC_ENC6 = 84
GENERIC_ENC7 = 93
GENERIC_ENC8 = 10
GENERIC_ENCODERS = (GENERIC_ENC1,
GENERIC_ENC2,
GENERIC_ENC3,
GENERIC_ENC4,
GENERIC_ENC5,
GENERIC_ENC6,
GENERIC_ENC7,
GENERIC_ENC8)
GENERIC_SLI1 = -1
GENERIC_SLI2 = -1
GENERIC_SLI3 = -1
GENERIC_SLI4 = -1
GENERIC_SLI5 = -1
GENERIC_SLI6 = -1
GENERIC_SLI7 = -1
GENERIC_SLI8 = -1
GENERIC_SLIDERS = (GENERIC_SLI1,
GENERIC_SLI2,
GENERIC_SLI3,
GENERIC_SLI4,
GENERIC_SLI5,
GENERIC_SLI6,
GENERIC_SLI7,
GENERIC_SLI8)
GENERIC_BUT1 = -1
GENERIC_BUT2 = -1
GENERIC_BUT3 = -1
GENERIC_BUT4 = -1
GENERIC_BUT5 = -1
GENERIC_BUT6 = -1
GENERIC_BUT7 = -1
GENERIC_BUT8 = -1
GENERIC_BUT9 = -1
GENERIC_BUTTONS = (GENERIC_BUT1,
GENERIC_BUT2,
GENERIC_BUT3,
GENERIC_BUT4,
GENERIC_BUT5,
GENERIC_BUT6,
GENERIC_BUT7,
GENERIC_BUT8)
GENERIC_PAD1 = -1
GENERIC_PAD2 = -1
GENERIC_PAD3 = -1
GENERIC_PAD4 = -1
GENERIC_PAD5 = -1
GENERIC_PAD6 = -1
GENERIC_PAD7 = -1
GENERIC_PAD8 = -1
GENERIC_PADS = (GENERIC_PAD1,
GENERIC_PAD2,
GENERIC_PAD3,
GENERIC_PAD4,
GENERIC_PAD5,
GENERIC_PAD6,
GENERIC_PAD7,
GENERIC_PAD8)