forked from hdavid/Launchpad95
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
43 lines (38 loc) · 973 Bytes
/
__init__.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
# -*- coding: utf-8 -*-
from Launchpad import Launchpad
def create_instance(c_instance):
""" Creates and returns the Launchpad script """
return Launchpad(c_instance)
from _Framework.Capabilities import * # noqa
def get_capabilities():
return {
CONTROLLER_ID_KEY:
controller_id (
vendor_id = 4661,
product_ids = [14,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120],
model_name = [
'Launchpad',
'Launchpad MK2',
'Launchpad MK2 2',
'Launchpad MK2 3',
'Launchpad MK2 4',
'Launchpad MK2 5',
'Launchpad MK2 6',
'Launchpad MK2 7',
'Launchpad MK2 8',
'Launchpad MK2 9',
'Launchpad MK2 10',
'Launchpad MK2 11',
'Launchpad MK2 12',
'Launchpad MK2 13',
'Launchpad MK2 14',
'Launchpad MK2 15',
'Launchpad MK2 16'
]
),
PORTS_KEY:
[
inport(props = [NOTES_CC, SCRIPT, REMOTE]),
outport(props = [NOTES_CC,SCRIPT,SYNC,REMOTE])
]
}