better chordal_hold_handedness

planck is the only tricky one
This commit is contained in:
Christoph Cullmann 2024-12-26 17:29:58 +01:00
parent 338ba782d6
commit 05eccc1311
No known key found for this signature in database
5 changed files with 24 additions and 7 deletions

View file

@ -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"