From b8393b8f645e7e45cca56215569c3d933b2dc69e Mon Sep 17 00:00:00 2001 From: Tim Hansinger Date: Thu, 1 Feb 2024 18:04:37 +0100 Subject: [PATCH] add additional keys to left hand / right hand home row mod rules --- config/base.keymap | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/base.keymap b/config/base.keymap index 332a8006a..c6a5c8a20 100644 --- a/config/base.keymap +++ b/config/base.keymap @@ -54,9 +54,11 @@ /* Homerow mods */ -#define KEYS_L X_LT LT0 LT1 LT2 LT3 LT4 X_LM LM0 LM1 LM2 LM3 LM4 X_LB LB0 LB1 LB2 LB3 LB4 // left hand -#define KEYS_R RT0 RT1 RT2 RT3 RT4 X_RT RM0 RM1 RM2 RM3 RM4 X_RM RB0 RB1 RB2 RB3 RB4 X_RB // right hand -#define THUMBS LH2 LH1 LH0 RH0 RH1 RH2 // thumbs +/* use helper macros to define left and right hand keys */ +#include "../zmk-nodefree-config/keypos_def/keypos_42keys.h" +#define KEYS_L LT0 LT1 LT2 LT3 LT4 LT5 LM0 LM1 LM2 LM3 LM4 LM5 LB0 LB1 LB2 LB3 LB4 LB5 // left hand +#define KEYS_R RT0 RT1 RT2 RT3 RT4 RT5 RM0 RM1 RM2 RM3 RM4 RM5 RB0 RB1 RB2 RB3 RB4 RB5 // right hand +#define THUMBS LH2 LH1 LH0 RH0 RH1 RH2 // thumbs #define MAKE_HRM(NAME, HOLD, TAP, TRIGGER_POS) \ ZMK_BEHAVIOR(NAME, hold_tap, \