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.)
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.
13 message MIDIButtonProto {
14 required int32 note_number = 1;
17 message MIDILightProto {
18 required int32 note_number = 1;
19 optional int32 velocity = 2 [default=1];