Rev 1730 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1721 | tk | 1 | # Run Script demo |
1730 | tk | 2 | # The run script is located in RUNSCR1.NGR - this file has to be uploaded as well! |
1721 | tk | 3 | |
4 | RESET_HW |
||
5 | |||
6 | # This LCD line will be overwritten by the run script after the config file has been processed |
||
7 | LCD "%CLoading Config" |
||
8 | |||
9 | # the SCS should emulate button/enc functions in main page |
||
10 | SCS soft1_button_emu_id=2000 \ |
||
11 | soft2_button_emu_id=2001 \ |
||
12 | soft3_button_emu_id=2002 \ |
||
13 | soft4_button_emu_id=2003 \ |
||
14 | shift_button_emu_id=2004 \ |
||
15 | enc_emu_id=2000 |
||
16 | |||
17 | |||
18 | # Controlled from SCS buttons at J10 in main page |
||
19 | |||
1730 | tk | 20 | # trigger different sections |
21 | EVENT_BUTTON id=2000 type=Meta meta=RunSection:1 button_mode=OnOnly |
||
22 | EVENT_BUTTON id=2001 type=Meta meta=RunSection:2 button_mode=OnOnly |
||
23 | EVENT_BUTTON id=2002 type=Meta meta=RunSection:3 button_mode=OnOnly |
||
24 | EVENT_BUTTON id=2003 type=Meta meta=RunSection:4 button_mode=OnOnly |
||
25 | EVENT_BUTTON id=2004 type=Meta meta=RunSection:5 button_mode=OnOnly |
||
1721 | tk | 26 | |
1730 | tk | 27 | EVENT_ENC id=2000 type=Meta meta=RunSection:10 |
1721 | tk | 28 | |
29 | |||
30 | # 8 button functions will will be controlled by the run script |
||
31 | EVENT_BUTTON id= 1 fwd_id=LED:1 fwd_to_lcd=1 type=NoteOn key=36 lcd_pos=1:1:1 label="Note:%3N%B" |
||
32 | EVENT_BUTTON id= 2 fwd_id=LED:2 fwd_to_lcd=1 type=NoteOn key=37 lcd_pos=1:1:1 label="Note:%3N%B" |
||
33 | EVENT_BUTTON id= 3 fwd_id=LED:3 fwd_to_lcd=1 type=NoteOn key=38 lcd_pos=1:1:1 label="Note:%3N%B" |
||
34 | EVENT_BUTTON id= 4 fwd_id=LED:4 fwd_to_lcd=1 type=NoteOn key=39 lcd_pos=1:1:1 label="Note:%3N%B" |
||
35 | EVENT_BUTTON id= 5 fwd_id=LED:5 fwd_to_lcd=1 type=NoteOn key=40 lcd_pos=1:1:1 label="Note:%3N%B" |
||
36 | EVENT_BUTTON id= 6 fwd_id=LED:6 fwd_to_lcd=1 type=NoteOn key=41 lcd_pos=1:1:1 label="Note:%3N%B" |
||
37 | EVENT_BUTTON id= 7 fwd_id=LED:7 fwd_to_lcd=1 type=NoteOn key=42 lcd_pos=1:1:1 label="Note:%3N%B" |
||
38 | EVENT_BUTTON id= 8 fwd_id=LED:8 fwd_to_lcd=1 type=NoteOn key=43 lcd_pos=1:1:1 label="Note:%3N%B" |
||
39 | |||
40 | |||
41 | # test that radio groups can be controlled from .NGR correctly |
||
42 | EVENT_BUTTON id= 9 fwd_id=LED:9 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 0:0 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
43 | EVENT_BUTTON id= 10 fwd_id=LED:10 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 1:1 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
44 | EVENT_BUTTON id= 11 fwd_id=LED:11 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 2:2 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
45 | EVENT_BUTTON id= 12 fwd_id=LED:12 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 3:3 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
46 | EVENT_BUTTON id= 13 fwd_id=LED:13 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 4:4 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
47 | EVENT_BUTTON id= 14 fwd_id=LED:14 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 5:5 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
48 | EVENT_BUTTON id= 15 fwd_id=LED:15 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 6:6 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |
||
49 | EVENT_BUTTON id= 16 fwd_id=LED:16 fwd_to_lcd=1 type=CC cc=16 button_mode=OnOnly range= 7:7 radio_group=1 lcd_pos=1:1:1 label="Group1:%2d" |