13
0
livetrax/libs/surfaces/mackie/mackie_button_handler.cc
David Robillard 99904735e0 Merged with trunk R1612.
git-svn-id: svn://localhost/ardour2/branches/midi@1614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-18 06:07:08 +00:00

692 lines
15 KiB
C++

/*
Generated by scripts/generate-button-handlers.erb
*/
#include "mackie_button_handler.h"
#include "controls.h"
#include <iostream>
using namespace std;
using namespace Mackie;
LedState MackieButtonHandler::default_button_press( Button & button )
{
cout << "press: " << button << endl;
return on;
}
LedState MackieButtonHandler::default_button_release( Button & button )
{
cout << "release: " << button << endl;
return off;
}
LedState MackieButtonHandler::io_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::io_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::sends_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::sends_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::pan_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::pan_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::plugin_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::plugin_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::eq_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::eq_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::dyn_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::dyn_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::left_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::left_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::right_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::right_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::channel_left_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::channel_left_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::channel_right_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::channel_right_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::flip_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::flip_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::edit_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::edit_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::name_value_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::name_value_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::smpte_beats_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::smpte_beats_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F1_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F1_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F2_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F2_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F3_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F3_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F4_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F4_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F5_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F5_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F6_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F6_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F7_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F7_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F8_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F8_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F9_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F9_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F10_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F10_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F11_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F11_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F12_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F12_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F13_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F13_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F14_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F14_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F15_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F15_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::F16_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::F16_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::shift_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::shift_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::option_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::option_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::control_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::control_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::cmd_alt_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::cmd_alt_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::on_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::on_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::rec_ready_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::rec_ready_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::undo_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::undo_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::snapshot_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::snapshot_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::touch_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::touch_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::redo_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::redo_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::marker_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::marker_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::enter_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::enter_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::cancel_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::cancel_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::mixer_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::mixer_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::frm_left_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::frm_left_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::frm_right_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::frm_right_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::loop_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::loop_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::punch_in_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::punch_in_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::punch_out_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::punch_out_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::home_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::home_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::end_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::end_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::rewind_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::rewind_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::ffwd_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::ffwd_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::stop_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::stop_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::play_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::play_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::record_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::record_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::cursor_up_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::cursor_up_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::cursor_down_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::cursor_down_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::cursor_left_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::cursor_left_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::cursor_right_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::cursor_right_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::zoom_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::zoom_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::scrub_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::scrub_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::user_a_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::user_a_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::user_b_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::user_b_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::fader_touch_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::fader_touch_release( Button & button )
{
return default_button_release( button );
}
LedState MackieButtonHandler::clicking_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::clicking_release( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::global_solo_press( Button & button )
{
return default_button_press( button );
}
LedState MackieButtonHandler::global_solo_release( Button & button )
{
return default_button_press( button );
}