Skip to content

Commit

Permalink
fix: fix some midi actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gwatcha committed May 27, 2020
1 parent eddf246 commit 7f44416
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions definitions/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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},
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -252,7 +253,6 @@ return {
PrevNoteSamePitchStart = {"SelectPrevNoteSamePitch", "EventSelectionStart"},
PrevNoteStart = {"SelectPrevNote", "EventSelectionStart"},
PrevRegion = {"SetLoopRegionToPrevRegion", "SetTimeSelectionToLoopSelection"},
SetLoopRegionToPrevRegion = "_SWS_SELPREVREG",
PrevTab = 40862,
PrevTake = 40126,
PrevTrack = 40286,
Expand All @@ -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,
Expand Down Expand Up @@ -357,6 +358,7 @@ return {
SetLoopEnd = 40223,
SetLoopRegionToNextRegion = "_SWS_SELNEXTREG",
SetLoopRegionToPrevRegion = "_SWS_SELPREVREG",
SetLoopRegionToPrevRegion = "_SWS_SELPREVREG",
SetLoopSelectionToTimeSelection = 40622,
SetLoopStart = 40222,
SetModeNormal = lib.setModeNormal,
Expand All @@ -371,7 +373,6 @@ return {
SetTrackRecInput = 40496,
SetTrackRecMidiOutput = 40500,
SetTrackRecMidiOverdub = 40503,
SetTrackRecMidiPaste = {40011, midiCommand=true},
SetTrackRecMidiReplace = 40504,
SetTrackRecMidiTouchReplace = 40852,
SetTrackRecMonitorOnly = 40498,
Expand Down Expand Up @@ -437,7 +438,6 @@ return {
TrackWithNumber = {"SelectTrackByNumber", "ScrollToSelectedTracks"},
TransportPause = 1008,
TransportPlay = 1007,
RecordOrStop = "_SWS_RECTOGGLE",
TransportStop = 1016,
TrimSelectedItemLeftEdgeToEditCursor = 41305,
TrimSelectedItemRightEdgeToEditCursor = 41311,
Expand Down

0 comments on commit 7f44416

Please sign in to comment.