From dc1d24a4fe0972ec3e5159088cef201b5ab0cbeb Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Sat, 19 Aug 2017 16:23:07 +0200 Subject: [PATCH] Add screen lock key --- keyboards/satan/keymaps/mark1/keymap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/satan/keymaps/mark1/keymap.c b/keyboards/satan/keymaps/mark1/keymap.c index 90938351..9c7c807f 100644 --- a/keyboards/satan/keymaps/mark1/keymap.c +++ b/keyboards/satan/keymaps/mark1/keymap.c @@ -6,6 +6,7 @@ #define KC_HOME LCTL(KC_A) // Home, or ctrl-a #define KC_END LCTL(KC_E) // End, or ctrl-e #define KC_SLP LGUI(LALT(KC_POWER)) // sleep, or cmd-option-power +#define KC_SCLK LCTL(LSFT(KC_POWER)) // lock screen, or ctrl-shift-power // When using this split right shift layout, k3c and k3d are no longer reversed // as in other layouts @@ -39,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL,____, ____,VOLU,____,____,____,____,____,HOME,UP ,END ,PGUP,____,____,____, ____,VOLD,MRWD,MPLY,MFFD,____,____,LEFT,DOWN,RGHT,PGDN,____,____,____, - ____,____,MUTE,____,____,____,____,____,____,____,SLP ,____,____,____, + ____,____,MUTE,____,____,____,____,____,____,SCLK,SLP ,____,____,____, ____,____,____, ____, ____,____,____,____ ) };