42 keys layout atm

This commit is contained in:
Christoph Cullmann 2024-07-30 18:11:10 +02:00
parent fb36554614
commit be26af998e
No known key found for this signature in database
7 changed files with 5 additions and 82 deletions

View file

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