Fix the definition of keygroup arrows

Also add a short comment about the format of keygroups.

Signed-off-by: ArenaL5 <arenal5@gmx.com>
This commit is contained in:
ArenaL5 2020-02-19 01:57:44 +01:00
parent 81d6521149
commit 0eaaa5e425
1 changed files with 4 additions and 2 deletions

View File

@ -299,12 +299,14 @@ local function new_common(mod, _keys, press, release, data)
end end
local keygroups = { local keygroups = {
-- Left: the keycode in a format which regular awful.key understands.
-- Right: the argument of the function ran upon executing the key binding.
numrow = {}, numrow = {},
arrows = { arrows = {
{"Left" , "Left" }, {"Left" , "Left" },
{"Right" , "Right" }, {"Right" , "Right" },
{"Top" , "Top" }, {"Up" , "Up" },
{"Bottom", "Bottom"}, {"Down", "Down" },
} }
} }