diff --git a/common/keymap.h b/common/keymap.h index ef712af..cb254df 100644 --- a/common/keymap.h +++ b/common/keymap.h @@ -89,13 +89,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -char chordal_hold_handedness(keypos_t key) -{ - // special handle thumb keys - if (key.row == 3 || key.row == 7) return '*'; - return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; -} - #ifndef CC_NO_LED void keyboard_post_init_user(void) { diff --git a/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c b/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c index 8e7bc7a..b29ce28 100644 --- a/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c @@ -20,5 +20,11 @@ KC_NO, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 KC_NO, K30, K31, K32, K33, KC_NO\ ) +// define handness manually, just to be sure +char chordal_hold_handedness(keypos_t key) +{ + return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; +} + // our shared 42 keys keymap #include "common/keymap.h" diff --git a/keyboards/ferris/keymaps/christoph-cullmann/keymap.c b/keyboards/ferris/keymaps/christoph-cullmann/keymap.c index de8f960..c3c1c99 100644 --- a/keyboards/ferris/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/ferris/keymaps/christoph-cullmann/keymap.c @@ -23,5 +23,11 @@ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 // no led #define CC_NO_LED +// define handness manually, just to be sure +char chordal_hold_handedness(keypos_t key) +{ + return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; +} + // our shared 42 keys keymap #include "common/keymap.h" diff --git a/keyboards/planck/keymaps/christoph-cullmann/keymap.c b/keyboards/planck/keymaps/christoph-cullmann/keymap.c index c91026a..4537f89 100644 --- a/keyboards/planck/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/planck/keymaps/christoph-cullmann/keymap.c @@ -20,5 +20,11 @@ K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29 KC_NO, KC_NO, KC_NO, K30, K31, KC_NO, KC_NO, K32, K33, KC_NO, KC_NO, KC_NO\ ) +// define handness manually, just to be sure +char chordal_hold_handedness(keypos_t key) +{ + return ((pos.row < 3) || (pos.row == 3 && pos.col < 3) || (pos.row == 7 && pos.col > 2)) ? 'L' : 'R'; +} + // our shared 42 keys keymap #include "common/keymap.h" diff --git a/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c index de8f960..c3c1c99 100644 --- a/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c @@ -23,5 +23,11 @@ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 // no led #define CC_NO_LED +// define handness manually, just to be sure +char chordal_hold_handedness(keypos_t key) +{ + return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; +} + // our shared 42 keys keymap #include "common/keymap.h"