summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/surface.h
AgeCommit message (Collapse)Author
2013-12-13Mackie Control support now saves & restores port connections for devices not ↵Paul Davis
using ipMIDI (not required for ipMIDI anyway)
2013-12-13remove some unused code from mackie supportPaul Davis
2013-03-06for MCP devices that don't handshake, turn them on as soon as we call ↵Paul Davis
::connectivity_established() so that _active == true, and we will actually write to them git-svn-id: svn://localhost/ardour2/branches/3.0@14165 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09MCP: latest patch from Rodrigo:Paul Davis
* fixes Master Fader Touch button in the Mackie; * implements a MasterFaderTouch global button; * removes unused MackieControlProtocol::_transport_previously_rolling property; * implements DeviceInfo::get_global_button() method; * creates GlobalButtonsInfo and StripButtonsInfo types in DeviceInfo; * implements Surface::_last_master_gain_written property to help master fader feedback; * makes Surface respect _mcp.device_info().strip_cnt() to create master fader and when connecting signals for strips and master fader instead of using hardcoded 8; * removed a few unnecessary updates in Surface::turn_it_on(); * included master_gain_changed() in Surface::periodic(); * implemented MackieControlProtocol::master_fader_touch_press and * MackieControlProtocol::master_fader_touch_release; git-svn-id: svn://localhost/ardour2/branches/3.0@12631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01MCP: Patch from Rodrigo that:Paul Davis
* implements Metering on/off through Button::Read as per Seablade's suggestion. I choose this button as it's the "Show meters" button in Traktion; * removes redundant code from Meter::update_transport_rolling(); * renames Meter::update_transport_rolling() to Meter::notify_metering_state_changed(); * renamed Surface::notify_transport_state_changed() to Surface::notify_metering_state_changed(); * renamed Strip::notify_transport_state_changed() to Strip::notify_metering_state_changed(); * created MackieControlProtocol::notify_metering_state_changed() and made MackieControlProtocol::notify_transport_state_changed() use it; * implemented turning off of timecode display and two char display in Surface::zero_all (); * implemented master fader zeroing in Surface::zero_all (); * calling Surfaces->zero_all() at MackieControlProtocol destructor; * implemented restore of 2nd LCD line content after metering being active. git-svn-id: svn://localhost/ardour2/branches/3.0@12520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30MCP: metering changes from rodrigo, makes metering work correctly on the MC ↵Paul Davis
Pro (also checked on the nucleus) git-svn-id: svn://localhost/ardour2/branches/3.0@12489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29patch from rodrigo severo to make mackie timecode display workPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11provide some support for mackie devices like Steinberg's CMCs that do not do ↵Paul Davis
the normal Mackie spec handshaking git-svn-id: svn://localhost/ardour2/branches/3.0@12252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-28control surfaces: make it possible to keep display of current GUI/selection ↵Paul Davis
state as we bank through tracks/bussses. note careful use of weak_ptr<Route> to avoid messing with Route lifetimes. this scheme may change git-svn-id: svn://localhost/ardour2/branches/3.0@12115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26MCP: properly (?) handle bank/channel scrolling with locked stripsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22MCP: another bevy of changes, including working jog wheelPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22MCP: a fistful of improvements. probably best to just try it and see what it ↵Paul Davis
broken. KNOWN: pressing vpots without a bank/channel shift will crash ardour git-svn-id: svn://localhost/ardour2/branches/3.0@12053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14MCP: the return of the master faderPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14MCP: redesign to allow device-specific button IDs, since we know that at ↵Paul Davis
least one device (nucleus) does not honor mackie's specification document git-svn-id: svn://localhost/ardour2/branches/3.0@11972 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13MCP: timeout display of value when altering with fader or pot; range ops on ↵Paul Davis
strip buttons should work; select logic may be broken git-svn-id: svn://localhost/ardour2/branches/3.0@11959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12MCP: more surface properties, correctly close IOSources when switching ↵Paul Davis
surfaces; write select button msgs one by one, change port name back to generic terms git-svn-id: svn://localhost/ardour2/branches/3.0@11945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12MCP: switch devices on the fly; name MIDI ports appropriately; fix active ↵Paul Davis
state; move sysex parsing into Surface git-svn-id: svn://localhost/ardour2/branches/3.0@11942 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12propagate GUI track selection to control protocols; make MCP update when GUI ↵Paul Davis
track selection changes git-svn-id: svn://localhost/ardour2/branches/3.0@11941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12MCP: check on whether we using pan width control; flip mode may change displayPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11MCP: more view mode stuffPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11MCP: start adding different view modes and support for FlipPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11MCP: further objectification of event handling codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11move all code to construct MIDI messages into relevant Control/Strip/Surface ↵Paul Davis
object; remove MackieMidiBuilder git-svn-id: svn://localhost/ardour2/branches/3.0@11895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10MCP: actually map routes to strips, more debug tracingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11865 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10drastic, fundamental redesign of MCP codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09remove redundant MackieButtonHandler class, implement initial zoom support ↵Paul Davis
for cursor left + right buttons git-svn-id: svn://localhost/ardour2/branches/3.0@11847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-09start breaking apart the various controls into their own headers and source ↵Paul Davis
code, and making each control know how to generate MIDI; throttle delivery of meter data and get meter ID right git-svn-id: svn://localhost/ardour2/branches/3.0@11846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08MCP: start up event loop (thread) so that we can do timeouts and metering; ↵Paul Davis
start of Meter control support git-svn-id: svn://localhost/ardour2/branches/3.0@11840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-08MCP: move init functions back into Surface since there is no difference ↵Paul Davis
between the BCF and MCU versions of the code at this point git-svn-id: svn://localhost/ardour2/branches/3.0@11838 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-07MCP: drastically alter setup of Mackie surface to not use the CSV files in ↵Paul Davis
anyway, reformat chunks to match coding style standards, don't throw() if part of a sysex message is message git-svn-id: svn://localhost/ardour2/branches/3.0@11820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-28Fix some more warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12"merge" (i.e. wholesale import) 2.0-ongoing Mackie code and then fix to ↵Paul Davis
compile in 3.0 context git-svn-id: svn://localhost/ardour2/branches/3.0@4315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02rollback to 3428, before the mysterious removal of libs/* at 3431/3432Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02remove empty sigc++2 directoryDoug McLain
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-19update to include needed stdint.h on slightly older gccJesse Chappell
git-svn-id: svn://localhost/ardour2/trunk@1475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-17Don't add duplicate remote_control_id to active banks. Notes and tweaks.John Anderson
git-svn-id: svn://localhost/ardour2/trunk@1471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-14merge r1449 from surfaces branch to include mackie surface and tranzport ↵John Anderson
updates. Thanks to Gerd Flaig for the merge command: svn merge svn+ssh://ardoursvn@ardour.org/ardour2/trunk@1449 svn+ssh://ardoursvn@ardour.org/ardour2/branches/surfaces. git-svn-id: svn://localhost/ardour2/trunk@1460 d708f5d6-7413-0410-9779-e7cbd77b26cf