You have to pick the command in the MIDI mapping menu and then select a button. Once you select or press a button the option for buttons will appear.
The code for a button as Tempo reset is as follows
- Code: Select all
<mapping name="TEMPO= RESET">
<events>
<MIDI type="Note" parameter="0x1c" channel="0x1"/>
</events>
<controls>
<control alias="fam(Player)[0x1].PitchValue"/>
</controls>
<preset name="Direct Normal Button">
<parameters>
<parameter object="action-0" key="normal" value="0.5"/>
</parameters>
</preset>
</mapping>
Notice that it is a note not a cc value.
the parameter is dependent on what button you press, in my controller is 1c that would be different for yours.
The channel depends on your controller.
in my controller channel 1,2,3, and 4 correspond to players A,B, C, and D.