1
0
Fork 0

Ocean Sus Board: rename layout macro (#13785)

- rename LAYOUT_ortho_3x4 to LAYOUT_ortho_4x3
  - ... because ortho layouts in QMK are named by <rows>x<columns> instead of <columns>x<rows>
This commit is contained in:
James Young 2021-07-30 08:11:37 -07:00 committed by GitHub
parent f2d34f38be
commit 6823e03b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@
"width": 3,
"height": 4,
"layouts": {
"LAYOUT_ortho_3x4": {
"LAYOUT_ortho_4x3": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},

View file

@ -15,28 +15,28 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ortho_3x4(
[0] = LAYOUT_ortho_4x3(
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6,
KC_P1, KC_P2, KC_P3,
KC_PENT, KC_P0, MO(1)
),
[1] = LAYOUT_ortho_3x4(
[1] = LAYOUT_ortho_4x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[2] = LAYOUT_ortho_3x4(
[2] = LAYOUT_ortho_4x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[3] = LAYOUT_ortho_3x4(
[3] = LAYOUT_ortho_4x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,

View file

@ -15,28 +15,28 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ortho_3x4(
[0] = LAYOUT_ortho_4x3(
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6,
KC_P1, KC_P2, KC_P3,
KC_PENT, KC_P0, MO(1)
),
[1] = LAYOUT_ortho_3x4(
[1] = LAYOUT_ortho_4x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[2] = LAYOUT_ortho_3x4(
[2] = LAYOUT_ortho_4x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[3] = LAYOUT_ortho_3x4(
[3] = LAYOUT_ortho_4x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,

View file

@ -17,7 +17,7 @@
#include "quantum.h"
#define LAYOUT_ortho_3x4(\
#define LAYOUT_ortho_4x3(\
K00, K01, K02, \
K10, K11, K12, \
K20, K21, K22, \