Skip to content

Commit

Permalink
Redefine KEYS_L KEYS_R to fit Corne 6-column keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
timhansinger committed Feb 1, 2024
1 parent 75903d6 commit 628a996
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@

/* Homerow mods */

// we move this definition into the actual keyboard keymaps (e.g. into corne.keymap)
/* Definition for Corne (6-column layout) */
#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

/* use helper macros to define left and right hand keys */
// #define KEYS_L LT0 LT1 LT2 LT3 LT4 LM0 LM1 LM2 LM3 LM4 LB0 LB1 LB2 LB3 LB4 // left hand
// #define KEYS_R RT0 RT1 RT2 RT3 RT4 RM0 RM1 RM2 RM3 RM4 RB0 RB1 RB2 RB3 RB4 // right hand
Expand Down
4 changes: 0 additions & 4 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
/* activate bluetooth */
#define CONFIG_WIRELESS 1

/* define the left and right keys before sourcing the main keymap */
#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

/* source the main keymap */
#include "base.keymap"

Expand Down

0 comments on commit 628a996

Please sign in to comment.