summaryrefslogtreecommitdiff
path: root/ferris/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ferris/keymap.c')
-rw-r--r--ferris/keymap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ferris/keymap.c b/ferris/keymap.c
index b43acbd..0dd36fb 100644
--- a/ferris/keymap.c
+++ b/ferris/keymap.c
@@ -16,5 +16,11 @@
#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;
+}
+
// our shared 34 keys keymap
#include "../common/keymap.h"