Skip to content

Commit

Permalink
Fixing typos for OSAv2 and OSAv2_Topre (qmk#23161)
Browse files Browse the repository at this point in the history
Correcting tilde to grave, fixing a typo in ec.c, and removing some comments that were accidentally left in.
  • Loading branch information
blindassassin111 authored Mar 1, 2024
1 parent 012b101 commit 3b76a3a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion keyboards/viktus/osav2/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_normal_split(
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILD,
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_PGDN, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
Expand Down
2 changes: 1 addition & 1 deletion keyboards/viktus/osav2/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_normal_split(
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILD,
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_PGDN, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
Expand Down
20 changes: 10 additions & 10 deletions keyboards/viktus/osav2_topre/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,34 +151,34 @@ bool ec_matrix_scan(matrix_row_t current_matrix[]) {
switch(row) {
case 0:
switch(col) {
case 14: // lower threshold for split backspace: left 1U( rest, btm)
case 15: // lower threshold for 2U backspace: 2U(38 rest, 60 btm)
reset_pt = 44;
actuation_pt = 48;
case 14: // lower threshold for split backspace: left 1U
case 15: // lower threshold for 2U backspace: 2U
reset_pt = 48;
actuation_pt = 53;
break;
}
break;
case 3:
switch(col) {
case 14: // Lower threshold for right shift: 1.75U(40 rest, 70 btm)
case 14: // Lower threshold for right shift: 1.75U
reset_pt = 48;
actuation_pt = 53;
break;
}
break;
case 4:
switch(col) {
case 3: // Lower threshold for left space: col3( rest, btm)
case 4: // Lower threshold for left space: col4(38 rest, 88 btm)
case 3: // Lower threshold for left space: col3
case 4: // Lower threshold for left space: col4
reset_pt = 50;
actuation_pt = 60;
break;
case 5: // Lower threshold for left space: col5( rest, btm)
case 6: // Lower threshold for left space: col6(40 rest, 80 btm)
case 5: // Lower threshold for left space: col5
case 6: // Lower threshold for left space: col6
reset_pt = 48;
actuation_pt = 58;
break;
case 14: // Lower threshold for right shift: 2.75U( rest, btm)
case 14: // Lower threshold for right shift: 2.75U
reset_pt = 48;
actuation_pt = 53;
break;
Expand Down
2 changes: 1 addition & 1 deletion keyboards/viktus/osav2_topre/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_back_175u_shift(
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILDE,
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
Expand Down
2 changes: 1 addition & 1 deletion keyboards/viktus/osav2_topre/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_back_175u_shift(
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILDE,
KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
Expand Down

0 comments on commit 3b76a3a

Please sign in to comment.