]> git.sesse.net Git - nageru/blob - shared/midi_mapping.proto
Make Futatabi fades apply white balance.
[nageru] / shared / midi_mapping.proto
1 // Mappings from MIDI controllers to the UI. (We don't really build
2 // a more complicated data structure than this in Nageru itself either;
3 // we just edit and match directly against the protobuf.)
4
5 syntax = "proto2";
6
7 // A single, given controller mapping.
8 message MIDIControllerProto {
9         required int32 controller_number = 1;
10         // TODO: Add flags like invert here if/when we need them.
11 }
12
13 message MIDIButtonProto {
14         required int32 note_number = 1;
15 }
16
17 message MIDILightProto {
18         required int32 note_number = 1;
19         optional int32 velocity = 2 [default=1];
20 }