13
0
livetrax/libs/surfaces/generic_midi
Robin Gareus b6b353d452 Handle generic-midi bindings per session.
This allows to special-cases session-specific control-surface state.
e.g. midi-learn.

Only restore midi-learned, session-specific, bindings when loading a
session with generic-midi enabled.

Also dis/re-enable generic-midi resets midi-learned, but no other
session-independent settings.

This also handles the edge case:
 1) load global config, generic-midi = ON, w/ bindings.
    state is remembered as cpi->state
 2) load session-condig, generic-midi = OFF, cpi->state is retained
 3) user enables the surface, cpi->state from (1) is applied.
 -> invalid bindings applied -> fail
2018-10-04 02:30:21 +02:00
..
MSVCardour_genericmidi Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs) 2018-09-30 09:06:25 +01:00
generic_midi_control_protocol.cc Handle generic-midi bindings per session. 2018-10-04 02:30:21 +02:00
generic_midi_control_protocol.h remove Session::controllable_by_descriptor() and move code into GenericMIDI code (the only user). 2018-06-21 13:05:58 -04:00
gmcp_gui.cc Sort generic-midi bindings alphabetically 2018-03-13 16:18:03 +01:00
interface.cc generic MIDI support does not have its own request buffer factory, so be sure to initialize descriptor member to null 2015-12-29 05:41:59 -05:00
midiaction.cc globally remove all trailing whitespace from ardour code base. 2015-10-04 14:51:05 -04:00
midiaction.h globally remove all trailing whitespace from ardour code base. 2015-10-04 14:51:05 -04:00
midicontrollable.cc add Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to a toggled controllable. 2018-06-21 22:28:11 -04:00
midicontrollable.h add Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to a toggled controllable. 2018-06-21 22:28:11 -04:00
midifunction.cc restore/extend/simplify ControlProtocol API to allow tracking of selection 2016-07-06 13:39:10 -04:00
midifunction.h Generic MIDI: add ToggleRecEnable action, and change all maps to use that instead of separate rec-enable, rec-disable, which didnt work 2016-01-14 16:37:54 -06:00
midiinvokable.cc Generic MIDI: midi controller buttons should only trigger on the PUSH, not release. This might have to be reveisited later, but it looks right to me and it fixes operation on 2 different devices here 2016-01-14 16:39:50 -06:00
midiinvokable.h NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
wscript prepare for update to waf 1.8 2016-02-28 21:16:44 +01:00