From 7f44416141d0b9dbf108821ff9de52cb48bc2f18 Mon Sep 17 00:00:00 2001 From: mostlysimlar Date: Wed, 27 May 2020 15:09:24 -0700 Subject: [PATCH] fix: fix some midi actions --- definitions/actions.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/definitions/actions.lua b/definitions/actions.lua index bbb7b0be..52e69994 100644 --- a/definitions/actions.lua +++ b/definitions/actions.lua @@ -46,7 +46,7 @@ return { CutEnvelopePoints = 40325, CutItems = {"SaveItemSelection", "SelectItemsAndSplit", "CutSelectedItems", "RestoreItemSelection"}, CutNotes = {"SelectNotes", "CutSelectedEvents"}, - CutSelectedEvents = {40734, midiCommand=true}, + CutSelectedEvents = {40012, midiCommand=true}, CutSelectedItems = 40699, CutTrack = {"CopyTrack", "RemoveTrack", "PrevTrack", "NextTrack"}, CycleFolderCollapsedState = 1042, @@ -162,6 +162,7 @@ return { MatchTrackNameBackward = lib.matchTrackNameBackward, MatchTrackNameForward = lib.matchTrackNameForward, MidiLearnLastTouchedFX = 41144, + MidiPaste = {40011, midiCommand=true}, MidiZoomContent = {40466, midiCommand=true}, MidiZoomInHoriz = {1012, midiCommand=true}, MidiZoomInVert = {40111, midiCommand=true}, @@ -218,7 +219,7 @@ return { NextTransientInItem = {"SaveItemSelection", "SelectItemsUnderEditCursor", "MoveEditCursorToNextTransientInSelectedItems", "RestoreItemSelection"}, NoOp = 65535, OnlySelectItemsCrossingTimeAndTrackSelection = {"UnselectItems", "SelectItemsCrossingTimeAndTrackSelection"}, - OpenMidiEditor = {40153, "MidiZoomContent"}, + OpenMidiEditor = 40153, OpenProject = 40025, PasteAbove = {"PrevTrack", "Paste"}, PasteFxChain = "_S&M_SMART_PST_FXCHAIN", @@ -252,7 +253,6 @@ return { PrevNoteSamePitchStart = {"SelectPrevNoteSamePitch", "EventSelectionStart"}, PrevNoteStart = {"SelectPrevNote", "EventSelectionStart"}, PrevRegion = {"SetLoopRegionToPrevRegion", "SetTimeSelectionToLoopSelection"}, - SetLoopRegionToPrevRegion = "_SWS_SELPREVREG", PrevTab = 40862, PrevTake = 40126, PrevTrack = 40286, @@ -264,6 +264,7 @@ return { RecordConditional = {"TransportStop", "ToggleRecordConditional"}, RecordMacro = "RecordMacro", RecordNormal = {"TransportStop", "ToggleRecordNormal"}, + RecordOrStop = "_SWS_RECTOGGLE", Record = {"SaveEditCursorPosition", "TimeSelectionStart", "RecordConditional", "RestoreEditCursorPosition", setTimeSelection=true}, Redo = 40030, RegionSelectItems = 40717, @@ -357,6 +358,7 @@ return { SetLoopEnd = 40223, SetLoopRegionToNextRegion = "_SWS_SELNEXTREG", SetLoopRegionToPrevRegion = "_SWS_SELPREVREG", + SetLoopRegionToPrevRegion = "_SWS_SELPREVREG", SetLoopSelectionToTimeSelection = 40622, SetLoopStart = 40222, SetModeNormal = lib.setModeNormal, @@ -371,7 +373,6 @@ return { SetTrackRecInput = 40496, SetTrackRecMidiOutput = 40500, SetTrackRecMidiOverdub = 40503, - SetTrackRecMidiPaste = {40011, midiCommand=true}, SetTrackRecMidiReplace = 40504, SetTrackRecMidiTouchReplace = 40852, SetTrackRecMonitorOnly = 40498, @@ -437,7 +438,6 @@ return { TrackWithNumber = {"SelectTrackByNumber", "ScrollToSelectedTracks"}, TransportPause = 1008, TransportPlay = 1007, - RecordOrStop = "_SWS_RECTOGGLE", TransportStop = 1016, TrimSelectedItemLeftEdgeToEditCursor = 41305, TrimSelectedItemRightEdgeToEditCursor = 41311,