diff --git a/definitions/actions.lua b/definitions/actions.lua index a34a357c..e004850a 100644 --- a/definitions/actions.lua +++ b/definitions/actions.lua @@ -228,9 +228,13 @@ return { NoOp = 65535, NudgeTrackPanLeft = 40283, NudgeTrackPanRight = 40284, + NudgeTrackPanLeft10Times = {"NudgeTrackPanLeft", repetitions=10}, + NudgeTrackPanRight10Times = {"NudgeTrackPanRight", repetitions=10}, + NudgeTrackPanRight = 40284, NudgeTrackVolumeDownBy1 = {"NudgeTrackVolumeDown", repetitions=20}, NudgeTrackVolumeDownBy1Tenth = {"NudgeTrackVolumeDown", repetitions=2}, NudgeTrackVolumeUp = 40115, + NudgeTrackVolumeUpBy1Tenth = {"NudgeTrackVolumeUp", repetitions=2}, NudgeTrackVolumeUpBy1 = {"NudgeTrackVolumeUp", repetitions=20}, OnlySelectItemsCrossingTimeAndTrackSelection = {"UnselectItems", "SelectItemsCrossingTimeAndTrackSelection"}, OpenMidiEditor = 40153, diff --git a/definitions/main.lua b/definitions/main.lua index 3bb6dc35..581578fd 100644 --- a/definitions/main.lua +++ b/definitions/main.lua @@ -21,6 +21,8 @@ return { ["V"] = "SetModeNormal", [""] = "NudgeTrackPanLeft", [""] = "NudgeTrackPanRight", + [""] = "NudgeTrackPanLeft10Times", + [""] = "NudgeTrackPanRight10Times", [""] = "NudgeTrackVolumeDownBy1Tenth", [""] = "NudgeTrackVolumeUpBy1Tenth", [""] = "NudgeTrackVolumeDownBy1", diff --git a/internal/state_machine/state_machine.lua b/internal/state_machine/state_machine.lua index 43ae20f0..96c8b4c3 100644 --- a/internal/state_machine/state_machine.lua +++ b/internal/state_machine/state_machine.lua @@ -38,6 +38,7 @@ function input(key_press) new_state = state_machine_constants['reset_state'] message = format.userInfo(new_state, err) else + log.info("New key sequence: " .. new_state['key_sequence']) local command = buildCommand(new_state) if command then log.trace("Command built: " .. format.block(command))