From 4bd22b7b0baa3cecc0a1aa2a08676198497906bf Mon Sep 17 00:00:00 2001 From: molleweide Date: Wed, 27 May 2020 18:20:34 +0200 Subject: [PATCH] adds global mode l/r by grid value. adds all set grid value actions --- definitions/global.lua | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/definitions/global.lua b/definitions/global.lua index d6a52517..f751742f 100644 --- a/definitions/global.lua +++ b/definitions/global.lua @@ -22,8 +22,8 @@ return { [""] = "Right10Pix", [""] = "Left40Pix", [""] = "Right40Pix", - ["h"] = "PrevBeat", - ["l"] = "NextBeat", + ["h"] = "MoveEditCursorToLeftGridDivision", + ["l"] = "MoveEditCursorToRightGridDivision", ["H"] = "PrevMeasure", ["L"] = "NextMeasure", [""] = "Prev4Beats", @@ -253,6 +253,34 @@ return { ["d"] = "CloseProject", ["x"] = "CleanProjectDirectory", }}, + ["G"] = {"+grid",{ + ["z"] = "GridSetTo1by1", -- low left hand + ["x"] = "GridSetTo1by2", + ["c"] = "GridSetTo1by3", + ["v"] = "GridSetTo1by4", + ["b"] = "GridSetTo1by5", + + ["a"] = "GridSetTo1by6", -- mid left hand + ["s"] = "GridSetTo1by7", + ["d"] = "GridSetTo1by8", + ["f"] = "GridSetTo1by9", + ["g"] = "GridSetTo1by10", + + ["q"] = "GridSetTo1by12", -- upper left hand + ["w"] = "GridSetTo1by16", + ["e"] = "GridSetTo1by18", + ["r"] = "GridSetTo1by24", + ["t"] = "GridSetTo1by32", + + ["n"] = "GridSetTo1by48", -- lower right + ["m"] = "GridSetTo1by64", + [","] = "GridSetTo1by128", + ["."] = "GridSetTo2by1", + ["/"] = "GridSetTo2by3", + + ["h"] = "GridSetTo3by1", -- mid right + ["j"] = "GridSetTo4by1", + }}, }}, }, }