diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-09-15 16:41:39 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-09-15 16:41:39 +0200 |
commit | ee341d225b572d30a5405c4fed85dd0e7d845d61 (patch) | |
tree | e6fa096e2e923ff9445c5fa8612d8beb9bdfbbfb /crkbd/keymap.c | |
parent | 089ceae1f7c15d63efa29b78d58179e635990eca (diff) |
Revert "try sm_td"
This reverts commit 089ceae1f7c15d63efa29b78d58179e635990eca.
doesn't work for me, random stuff happens, t not triggers at all
Diffstat (limited to 'crkbd/keymap.c')
-rw-r--r-- | crkbd/keymap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crkbd/keymap.c b/crkbd/keymap.c index e5c812e..efeb439 100644 --- a/crkbd/keymap.c +++ b/crkbd/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 < MATRIX_ROWS / 2; +} + // layout helper macro, we just use 42 keys #undef LAYOUT #define LAYOUT(\ |