aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-06-28 04:22:37 +0200
committerGuilhem Moulin <guilhem@fripost.org>2019-06-28 13:02:50 +0200
commitd5f328d5b8145c0a2c208d89a3ef40178da3c219 (patch)
tree43ab60d751f539c3048988e8531ea441b93fcc9d
parent91b0a5e106e44035de9253a969e2409baf76214a (diff)
keymap: Map R0C0+R3C6 to XF86ScreenSaver.
-rw-r--r--src/keymap.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 222dbd0..41f3a20 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -29,6 +29,7 @@ enum {
, LAYER_MAX = NUM
};
+#define Key_LockScreen Consumer_AL_TerminalLockSlashScreensaver
#define Key_PlayPause Consumer_PlaySlashPause
#define Key_Plus LSHIFT(Key_Equals)
#define Key_Underscore LSHIFT(Key_Minus)
@@ -56,10 +57,10 @@ KEYMAPS(
, [NAV] = KEYMAP_STACKED(
- ___, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_PrintScreen
- , XXX, Key_mouseScrollR, Key_mouseWarpNW, Key_mouseUp, Key_mouseWarpNE, Key_mouseScrollDn, Key_mouseWarpEnd
- , XXX, Key_mouseScrollL, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseScrollUp
- , ___, XXX, Key_mouseWarpSW, XXX, Key_mouseWarpSE, XXX, Key_mouseBtnL
+ Key_LockScreen, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_PrintScreen
+ , XXX, Key_mouseScrollR, Key_mouseWarpNW, Key_mouseUp, Key_mouseWarpNE, Key_mouseScrollDn, Key_mouseWarpEnd
+ , XXX, Key_mouseScrollL, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseScrollUp
+ , ___, XXX, Key_mouseWarpSW, XXX, Key_mouseWarpSE, XXX, Key_mouseBtnL
, ___, Key_Delete, ___, ___
, ___