2024-09-22 17:58:29 +02:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2024 Christoph Cullmann <christoph@cullmann.io>
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2024-09-22 17:50:24 +02:00
|
|
|
*/
|
2022-10-01 11:03:31 +02:00
|
|
|
|
|
|
|
#include QMK_KEYBOARD_H
|
|
|
|
|
2024-11-20 21:55:30 +01:00
|
|
|
char chordal_hold_handedness(keypos_t key
|
2024-09-22 17:50:24 +02:00
|
|
|
{
|
2024-11-09 16:56:28 +01:00
|
|
|
return ((key.row < 3) || (key.row == 3 && key.col < 3) || (key.row == 7 && key.col > 2)) ? 'L' : 'R';
|
2024-09-22 17:50:24 +02:00
|
|
|
}
|
|
|
|
|
2024-07-28 21:17:49 +02:00
|
|
|
// layout helper macro, we just use 42 keys
|
2023-08-11 23:16:38 +02:00
|
|
|
#undef LAYOUT
|
|
|
|
#define LAYOUT(\
|
2024-10-01 23:33:02 +02:00
|
|
|
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
|
|
|
|
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
|
|
|
|
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
|
|
|
|
K30, K31, K32, K33\
|
2022-10-21 23:01:16 +02:00
|
|
|
)\
|
|
|
|
LAYOUT_ortho_4x12(\
|
2024-10-01 23:33:02 +02:00
|
|
|
K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\
|
|
|
|
K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\
|
|
|
|
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\
|
2022-10-21 23:01:16 +02:00
|
|
|
)
|
|
|
|
|
2024-07-28 21:17:49 +02:00
|
|
|
// our shared 42 keys keymap
|
2024-09-22 18:20:51 +02:00
|
|
|
#include "common/keymap.h"
|