]> git.sesse.net Git - nageru/blobdiff - futatabi/midi_mapper.cpp
Add infrastructure for MIDI lights that are controllers instead of notes.
[nageru] / futatabi / midi_mapper.cpp
index 36a2e43f9224232570cc2f02d4e9b8168e5e4943..93e367a77aa1ad0987c1a0f40e38372f90c0f14f 100644 (file)
@@ -206,7 +206,7 @@ void MIDIMapper::refresh_lights()
 
 void MIDIMapper::update_lights_lock_held()
 {
-       map<unsigned, uint8_t> active_lights;  // Desired state.
+       map<MIDIDevice::LightKey, uint8_t> active_lights;  // Desired state.
        if (current_controller_bank == 0) {
                activate_mapped_light(*mapping_proto, MIDIMappingProto::kBank1IsSelectedFieldNumber, &active_lights);
        }