summaryrefslogtreecommitdiff
path: root/planck/keymap.c
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-07-30 18:11:10 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-07-30 18:11:10 +0200
commitbe26af998ee7cbcfeb5b52a366fbd2e6e0bd1017 (patch)
treec39b4ff4d3b2782f6acc80a6098683f21c525811 /planck/keymap.c
parentfb365546149bd42111fdda1df72ab067d2836559 (diff)
42 keys layout atm
Diffstat (limited to 'planck/keymap.c')
-rw-r--r--planck/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/planck/keymap.c b/planck/keymap.c
index f5bdcdd..b0c2794 100644
--- a/planck/keymap.c
+++ b/planck/keymap.c
@@ -17,9 +17,9 @@
#include QMK_KEYBOARD_H
// Returns true if `pos` on the left hand of the keyboard, false if right.
-static bool on_left_hand(keypos_t pos) {
- // works not really on planck for bottom row, but we handle that differently
- return pos.row < MATRIX_ROWS / 2;
+static bool on_left_hand(keypos_t pos)
+{
+ return (pos.row < 3) || (pos.row == 3 && pos.col < 3) || (pos.row == 7 && pos.col > 2);
}
// layout helper macro, we just use 42 keys