diff options
author | Luke Smith <luke@lukesmith.xyz> | 2018-10-16 15:21:02 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2018-10-16 15:21:02 -0400 |
commit | 7186ee2ddd658ffea4aa25283c68c775c3d2dc03 (patch) | |
tree | 4370aa5e53907226409fe8dc067f35d00f2f24aa /config.h | |
parent | 07bfca30099be0c45999aa69e9978e33d1f72932 (diff) |
mouse bindings and documentation
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 */ |