From 17faf830fbe12222e64d9b92ac14cb1c8742ac96 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 22 Feb 2019 12:24:18 +0000 Subject: numlock as a macro Press the NumLock key, switch the layer. Previously, pressing the NumLock key was handled by the NumPad plugin (which mostly deals with LED colors). I stopped using that plugin when I built my own LED plugin. Also, recently the NumPad plugin stopped handling the NumLock press, so we really need to do it here. --- keymaps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keymaps.h') diff --git a/keymaps.h b/keymaps.h index 4932ab1..70b0e8f 100644 --- a/keymaps.h +++ b/keymaps.h @@ -12,7 +12,7 @@ ColorKeymaps( CK(Key_LeftControl,Base), CK(Key_Backspace,Base), CK(Key_LeftGui,Base), CK(Key_LeftShift,Base), CK(ShiftToLayer(FVWM),Base), - CK(M(MACRO_ANY),Base), CK(Key_6,Base), CK(Key_7,Base), CK(Key_8,Base), CK(Key_9,Base), CK(Key_0,Base), CK(LockLayer(NUMPAD),Base), + CK(M(MACRO_ANY),Base), CK(Key_6,Base), CK(Key_7,Base), CK(Key_8,Base), CK(Key_9,Base), CK(Key_0,Base), CK(M(MACRO_NUMLOCK),Base), CK(Key_Enter,Base), CK(Key_Y,Base), CK(Key_U,Base), CK(Key_I,Base), CK(Key_O,Base), CK(Key_P,Base), CK(Key_Equals,Base), CK(Key_H,Base), CK(Key_J,Base), CK(Key_K,Base), CK(Key_L,Base), CK(Key_Semicolon,Base), CK(Key_Quote,Base), CK(Key_RightAlt,Base), CK(Key_N,Base), CK(Key_M,Base), CK(Key_Comma,Base), CK(Key_Period,Base), CK(Key_Slash,Base), CK(Key_Minus,Base), -- cgit v1.2.3