From ee341d225b572d30a5405c4fed85dd0e7d845d61 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 15 Sep 2024 16:41:39 +0200 Subject: Revert "try sm_td" This reverts commit 089ceae1f7c15d63efa29b78d58179e635990eca. doesn't work for me, random stuff happens, t not triggers at all --- planck/keymap.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'planck/keymap.c') diff --git a/planck/keymap.c b/planck/keymap.c index 3e8713d..b0c2794 100644 --- a/planck/keymap.c +++ b/planck/keymap.c @@ -16,6 +16,12 @@ #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) +{ + return (pos.row < 3) || (pos.row == 3 && pos.col < 3) || (pos.row == 7 && pos.col > 2); +} + // layout helper macro, we just use 42 keys #undef LAYOUT #define LAYOUT(\ -- cgit v1.2.3