Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viktus OSAv2 Numpad Community Layout Support and Configurator Touch-Up #21342

Merged
merged 5 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[refactor] rename LAYOUT_all_split to LAYOUT_ortho_5x4
  • Loading branch information
noroadsleft committed Jun 22, 2023
commit e24d79894eb0b70cedf44705b997c0e0fe2b2f19
5 changes: 4 additions & 1 deletion keyboards/viktus/osav2_numpad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@
"twinkle": true
}
},
"layout_aliases": {
"LAYOUT_all_split": "LAYOUT_ortho_5x4"
},
"layouts": {
"LAYOUT_all_split": {
"LAYOUT_ortho_5x4": {
"layout": [
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
Expand Down
2 changes: 1 addition & 1 deletion keyboards/viktus/osav2_numpad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all_split(
[0] = LAYOUT_ortho_5x4(
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_PPLS,
KC_P4, KC_P5, KC_P6, KC_PEQL,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/viktus/osav2_numpad/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all_split(
[0] = LAYOUT_ortho_5x4(
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_PPLS,
KC_P4, KC_P5, KC_P6, KC_PEQL,
Expand Down