From f6f6c0291ff066f82cb94267f6c38f13f025d10f Mon Sep 17 00:00:00 2001 From: JessyJP <49342341+JessyJP@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:41:14 +0000 Subject: [PATCH] Update define_midi_event_action_mapping.py --- .../define_midi_event_action_mapping.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/openlp/plugins/midi/lib/types_definitions/define_midi_event_action_mapping.py b/openlp/plugins/midi/lib/types_definitions/define_midi_event_action_mapping.py index 77380dc90..e3b416ff9 100644 --- a/openlp/plugins/midi/lib/types_definitions/define_midi_event_action_mapping.py +++ b/openlp/plugins/midi/lib/types_definitions/define_midi_event_action_mapping.py @@ -76,6 +76,11 @@ default_action_midi_mappings = [ M.NOTE_ON, 50, 'Go to the next slide'), MidiActionMapping('event_slide_goto', 'Slide Go to Select', C.SLIDE, A.VARIABLE, M.NOTE_ON, 52, 'Go to a specific section with velocity'), + MidiActionMapping('event_timer_start', 'Slide Timer Start', C.SLIDE, A.TOGGLE, + M.NOTE_ON, 54, 'Start/Stop the slider timer.'), + MidiActionMapping('event_timer_set', 'Slide Timer Set', C.SLIDE, A.VARIABLE, + M.NOTE_ON, 55, 'Set the slider timer value in seconds.'), + # TODO: maybe put the timer in a separate group # Group 5: Song-specific transpose actions MidiActionMapping('event_transpose_down', 'Transpose Down', C.TRANSPOSE, A.VARIABLE, @@ -84,6 +89,14 @@ default_action_midi_mappings = [ M.NOTE_ON, 61, 'Reset the song transposition'), MidiActionMapping('event_transpose_up', 'Transpose Up', C.TRANSPOSE, A.VARIABLE, M.NOTE_ON, 62, 'Transpose the song up'), + + # Group 6:Bible display selection actions + # TODO: maybe put the timer in a separate group + MidiActionMapping('event_bible_book', 'Bible Go To Book', C.SLIDE, A.VARIABLE, + M.NOTE_ON, 56, 'Set to a selected Bible book.'), + MidiActionMapping('event_bible_chapter', 'Bible Go To Chapter', C.SLIDE, A.VARIABLE, + M.NOTE_ON, 57, 'Set to a selected Bible chapter.'), + ]