mouse bindings and documentation

This commit is contained in:
Luke Smith
2018-10-16 15:21:02 -04:00
parent 07bfca3009
commit 7186ee2ddd
2 changed files with 10 additions and 5 deletions

View File

@@ -192,15 +192,20 @@ static MouseShortcut mshortcuts[] = {
{ Button5, XK_NO_MOD, "\005" },
};
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
MouseKey mkeys[] = {
/* button mask function argument */
{ Button4, ShiftMask, kscrollup, {.i = 1} },
{ Button5, ShiftMask, kscrolldown, {.i = 1} },
{ Button4, MODKEY, kscrollup, {.i = 1} },
{ Button5, MODKEY, kscrolldown, {.i = 1} },
{ Button4, MODKEY|ShiftMask, zoom, {.f = +1} },
{ Button5, MODKEY|ShiftMask, zoom, {.f = -1} },
};
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts[] = {
/* mask keysym function argument */