Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2453 → Rev 2454

/trunk/apps/controllers/midibox_ng_v1/cfg/tk/mbcv.ngc
New file
0,0 → 1,133
 
# test setup for MBCV frontpanel from Latigid On
 
RESET_HW
 
LCD "READY."
 
################################################################################
# Frontpanel
################################################################################
 
# the frontpanel has a 4x8 button matrix - we emulate "normal" button functions
# DOUT: J10, DIN: J6
DIN_MATRIX n=1 rows=8 sr_dout_sel1=4 sr_din1=6 button_emu_id_offset=1001
 
# the appr. events
 
 
# frontpanel encoders connected to DIN J5
# note that for EN1 I'm using a special encoder with switch from my stock which requires detented1
# EN2 and EN3 are the encoders with transparent axis, pins are swapped!
ENC n= 1 sr= 5 pins=0:1 type=detented1
ENC n= 2 sr= 5 pins=3:2 type=detented3
ENC n= 3 sr= 5 pins=5:4 type=detented3
 
# the appr. events:
EVENT_ENC id=1 type=CC chn=1 cc=1
EVENT_ENC id=2 type=CC chn=1 cc=2 fwd_id=RGBLED:1 hsv=120:100:20
EVENT_ENC id=3 type=CC chn=1 cc=3 fwd_id=RGBLED:2 hsv=120:100:20
 
# EN1 switch:
EVENT_BUTTON id=1008 type=NoteOn chn=1 key=4
 
# matrix buttons mapped to id=1001
 
# "Keyboard" buttons:
EVENT_BUTTON id=1005 type=NoteOn chn=1 key=60
EVENT_BUTTON id=1006 type=NoteOn chn=1 key=61
EVENT_BUTTON id=1014 type=NoteOn chn=1 key=62
EVENT_BUTTON id=1015 type=NoteOn chn=1 key=63
EVENT_BUTTON id=1013 type=NoteOn chn=1 key=64
EVENT_BUTTON id=1022 type=NoteOn chn=1 key=65
EVENT_BUTTON id=1029 type=NoteOn chn=1 key=66
EVENT_BUTTON id=1021 type=NoteOn chn=1 key=67
EVENT_BUTTON id=1037 type=NoteOn chn=1 key=68
EVENT_BUTTON id=1045 type=NoteOn chn=1 key=69
EVENT_BUTTON id=1038 type=NoteOn chn=1 key=70
EVENT_BUTTON id=1046 type=NoteOn chn=1 key=71
EVENT_BUTTON id=1047 type=NoteOn chn=1 key=72
EVENT_BUTTON id=1054 type=NoteOn chn=1 key=73
EVENT_BUTTON id=1053 type=NoteOn chn=1 key=74
EVENT_BUTTON id=1062 type=NoteOn chn=1 key=75
EVENT_BUTTON id=1061 type=NoteOn chn=1 key=76
 
 
# Upper row:
EVENT_BUTTON id=1007 type=NoteOn chn=1 key=7
EVENT_BUTTON id=1016 type=NoteOn chn=1 key=16
 
EVENT_BUTTON id=1030 type=NoteOn chn=1 key=30
EVENT_BUTTON id=1031 type=NoteOn chn=1 key=31
EVENT_BUTTON id=1032 type=NoteOn chn=1 key=32
EVENT_BUTTON id=1040 type=NoteOn chn=1 key=40
 
EVENT_BUTTON id=1055 type=NoteOn chn=1 key=55
EVENT_BUTTON id=1063 type=NoteOn chn=1 key=63
 
# WS2812 based RGB LEDs:
EVENT_RGBLED id=1 dimmed=1 range=0:100
EVENT_RGBLED id=2 dimmed=1 range=0:100
 
 
################################################################################
# Encoder Extension
################################################################################
 
# encoders are connected to DIN J1..J4
# note: encoder pins are swapped!
 
ENC n= 101 sr= 1 pins=1:0 type=detented3
ENC n= 102 sr= 1 pins=3:2 type=detented3
ENC n= 103 sr= 1 pins=5:4 type=detented3
ENC n= 104 sr= 1 pins=7:6 type=detented3
ENC n= 105 sr= 2 pins=1:0 type=detented3
ENC n= 106 sr= 2 pins=3:2 type=detented3
ENC n= 107 sr= 2 pins=5:4 type=detented3
ENC n= 108 sr= 2 pins=7:6 type=detented3
ENC n= 109 sr= 3 pins=1:0 type=detented3
ENC n= 110 sr= 3 pins=3:2 type=detented3
ENC n= 111 sr= 3 pins=5:4 type=detented3
ENC n= 112 sr= 3 pins=7:6 type=detented3
ENC n= 113 sr= 4 pins=1:0 type=detented3
ENC n= 114 sr= 4 pins=3:2 type=detented3
ENC n= 115 sr= 4 pins=5:4 type=detented3
ENC n= 116 sr= 4 pins=7:6 type=detented3
 
# the appr. events
EVENT_ENC id=101 type=CC cc=101 fwd_id=RGBLED:3 hsv=120:100:20
EVENT_ENC id=102 type=CC cc=102 fwd_id=RGBLED:4 hsv=120:100:20
EVENT_ENC id=103 type=CC cc=103 fwd_id=RGBLED:5 hsv=120:100:20
EVENT_ENC id=104 type=CC cc=104 fwd_id=RGBLED:6 hsv=120:100:20
EVENT_ENC id=105 type=CC cc=105 fwd_id=RGBLED:10 hsv=120:100:20
EVENT_ENC id=106 type=CC cc=106 fwd_id=RGBLED:9 hsv=120:100:20
EVENT_ENC id=107 type=CC cc=107 fwd_id=RGBLED:8 hsv=120:100:20
EVENT_ENC id=108 type=CC cc=108 fwd_id=RGBLED:7 hsv=120:100:20
EVENT_ENC id=109 type=CC cc=109 fwd_id=RGBLED:11 hsv=120:100:20
EVENT_ENC id=110 type=CC cc=110 fwd_id=RGBLED:12 hsv=120:100:20
EVENT_ENC id=111 type=CC cc=111 fwd_id=RGBLED:13 hsv=120:100:20
EVENT_ENC id=112 type=CC cc=112 fwd_id=RGBLED:14 hsv=120:100:20
EVENT_ENC id=113 type=CC cc=113 fwd_id=RGBLED:18 hsv=120:100:20
EVENT_ENC id=114 type=CC cc=114 fwd_id=RGBLED:17 hsv=120:100:20
EVENT_ENC id=115 type=CC cc=115 fwd_id=RGBLED:16 hsv=120:100:20
EVENT_ENC id=116 type=CC cc=116 fwd_id=RGBLED:15 hsv=120:100:20
 
 
# WS2812 based RGB LEDs:
EVENT_RGBLED id=3 dimmed=1 range=0:100
EVENT_RGBLED id=4 dimmed=1 range=0:100
EVENT_RGBLED id=5 dimmed=1 range=0:100
EVENT_RGBLED id=6 dimmed=1 range=0:100
EVENT_RGBLED id=7 dimmed=1 range=0:100
EVENT_RGBLED id=8 dimmed=1 range=0:100
EVENT_RGBLED id=9 dimmed=1 range=0:100
EVENT_RGBLED id=10 dimmed=1 range=0:100
EVENT_RGBLED id=11 dimmed=1 range=0:100
EVENT_RGBLED id=12 dimmed=1 range=0:100
EVENT_RGBLED id=13 dimmed=1 range=0:100
EVENT_RGBLED id=14 dimmed=1 range=0:100
EVENT_RGBLED id=15 dimmed=1 range=0:100
EVENT_RGBLED id=16 dimmed=1 range=0:100
EVENT_RGBLED id=17 dimmed=1 range=0:100
EVENT_RGBLED id=18 dimmed=1 range=0:100
 
Property changes:
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property