Skip to content

Commit

Permalink
fix planck bottom row
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Jun 17, 2021
1 parent 3ef7605 commit 2bc16f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/urob/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,6 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
// customize bilateral combinations, needs 605ecc6c3b4141a930544ca4a35488d1497df967
bool get_bilateral_combinations(keypos_t *hold, keypos_t *tap) {
bool same = (hold->row < MATRIX_ROWS / 2) == (tap->row < MATRIX_ROWS / 2);
bool top_rows = same && (tap->col < 3); // bottom row does not activate bilateral combinations
bool top_rows = same && (tap->row != 3) && (tap->row != 7); // bottom row does not activate bilateral combinations
return top_rows;
}

0 comments on commit 2bc16f8

Please sign in to comment.