summaryrefslogtreecommitdiff
path: root/ferris/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ferris/keymap.c')
-rw-r--r--ferris/keymap.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/ferris/keymap.c b/ferris/keymap.c
index 9c0c604..50f8fd1 100644
--- a/ferris/keymap.c
+++ b/ferris/keymap.c
@@ -36,32 +36,6 @@ void matrix_scan_user(void)
achordion_task();
}
-static bool planck_bottom_row(keypos_t pos)
-{
- return pos.row % (MATRIX_ROWS / 2) == 3;
-}
-
-// works only for rows 0-2 or 4-6
-static bool planck_on_left_hand(keypos_t pos)
-{
- // planck is like a split keyboard, beside for the last row
- return pos.row < MATRIX_ROWS / 2;
-}
-
-bool achordion_chord(uint16_t tap_hold_keycode,
- keyrecord_t* tap_hold_record,
- uint16_t other_keycode,
- keyrecord_t* other_record)
-{
- // last row is special for the planck, just allow there everything
- if (planck_bottom_row(tap_hold_record->event.key) || planck_bottom_row(other_record->event.key)) {
- return true;
- }
-
- // now both keys are in rows 0-2 or 4-6, there we can check the left hand with the simple helper
- return planck_on_left_hand(tap_hold_record->event.key) != planck_on_left_hand(other_record->event.key);
-}
-
// layout helper macro, we just use 34 keys
#define LAYOUT_cullmann(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\