summaryrefslogtreecommitdiff
path: root/keyboards/reviung/reviung34
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-29 01:31:55 +0100
committerGitHub <noreply@github.com>2022-04-29 01:31:55 +0100
commit6e819945ed7d0084f22cbf4221eb166243c3ce07 (patch)
treef1910a27d8cabffac192ac5d20a73b2cb806ad3a /keyboards/reviung/reviung34
parentd458d4a596cd1fe8f0a21b9b70ab2e5cd190e7c7 (diff)
downloadqmk_firmware-6e819945ed7d0084f22cbf4221eb166243c3ce07.tar.gz
qmk_firmware-6e819945ed7d0084f22cbf4221eb166243c3ce07.zip
Remove some layout exceptions (#16957)
* LAYOUT_JP -> LAYOUT_jp * LAYOUT_ANSI_DEFAULT -> LAYOUT * LAYOUT_reviung34_2uL -> LAYOUT_reviung34_2u
Diffstat (limited to 'keyboards/reviung/reviung34')
-rwxr-xr-xkeyboards/reviung/reviung34/info.json37
-rwxr-xr-xkeyboards/reviung/reviung34/keymaps/default_2u/keymap.c (renamed from keyboards/reviung/reviung34/keymaps/default_2uL/keymap.c)8
-rwxr-xr-xkeyboards/reviung/reviung34/keymaps/default_2u/readme.md (renamed from keyboards/reviung/reviung34/keymaps/default_2uL/readme.md)0
-rwxr-xr-xkeyboards/reviung/reviung34/keymaps/default_rgb2u/keymap.c8
-rwxr-xr-xkeyboards/reviung/reviung34/reviung34.h2
5 files changed, 46 insertions, 9 deletions
diff --git a/keyboards/reviung/reviung34/info.json b/keyboards/reviung/reviung34/info.json
index ecd89d4742..6e727a4ff3 100755
--- a/keyboards/reviung/reviung34/info.json
+++ b/keyboards/reviung/reviung34/info.json
@@ -40,6 +40,43 @@
{"label":"K34", "x":4, "y":3},
{"label":"K38", "x":6, "y":3, "w":2}
]
+ },
+ "LAYOUT_reviung34_2u": {
+ "layout": [
+ {"label":"K00", "x":0, "y":0},
+ {"label":"K01", "x":1, "y":0},
+ {"label":"K02", "x":2, "y":0},
+ {"label":"K03", "x":3, "y":0},
+ {"label":"K04", "x":4, "y":0},
+ {"label":"K05", "x":6, "y":0},
+ {"label":"K06", "x":7, "y":0},
+ {"label":"K07", "x":8, "y":0},
+ {"label":"K08", "x":9, "y":0},
+ {"label":"K35", "x":10, "y":0},
+ {"label":"K10", "x":0, "y":1},
+ {"label":"K11", "x":1, "y":1},
+ {"label":"K12", "x":2, "y":1},
+ {"label":"K13", "x":3, "y":1},
+ {"label":"K14", "x":4, "y":1},
+ {"label":"K15", "x":6, "y":1},
+ {"label":"K16", "x":7, "y":1},
+ {"label":"K17", "x":8, "y":1},
+ {"label":"K18", "x":9, "y":1},
+ {"label":"K36", "x":10, "y":1},
+ {"label":"K20", "x":0, "y":2},
+ {"label":"K21", "x":1, "y":2},
+ {"label":"K22", "x":2, "y":2},
+ {"label":"K23", "x":3, "y":2},
+ {"label":"K24", "x":4, "y":2},
+ {"label":"K25", "x":6, "y":2},
+ {"label":"K26", "x":7, "y":2},
+ {"label":"K27", "x":8, "y":2},
+ {"label":"K28", "x":9, "y":2},
+ {"label":"K37", "x":10, "y":2},
+ {"label":"K32", "x":2, "y":3},
+ {"label":"K34", "x":3, "y":3, "w":2},
+ {"label":"K38", "x":6, "y":3, "w":2}
+ ]
}
}
}
diff --git a/keyboards/reviung/reviung34/keymaps/default_2uL/keymap.c b/keyboards/reviung/reviung34/keymaps/default_2u/keymap.c
index 767c0ff4c6..9f586b333c 100755
--- a/keyboards/reviung/reviung34/keymaps/default_2uL/keymap.c
+++ b/keyboards/reviung/reviung34/keymaps/default_2u/keymap.c
@@ -35,28 +35,28 @@ enum layer_names {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_BASE] = LAYOUT_reviung34_2uL(
+ [_BASE] = LAYOUT_reviung34_2u(
CT_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
SF_Z, AL_X, KC_C, KC_V, KC_B, KC_N, KC_M, CT_CM, AL_DT, SF_SS,
KC_TAB, LOWER, RA_SP
),
- [_LOWER] = LAYOUT_reviung34_2uL(
+ [_LOWER] = LAYOUT_reviung34_2u(
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN,
KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_SCLN,
KC_LSFT, KC_ESC, KC_LGUI, KC_LALT, KC_QUOT, KC_HOME, KC_END, KC_PGUP, KC_PGDN, KC_BSPC,
_______, _______, _______
),
- [_RAISE] = LAYOUT_reviung34_2uL(
+ [_RAISE] = LAYOUT_reviung34_2u(
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_LBRC, KC_RBRC, KC_BSLS, XXXXXXX, XXXXXXX, KC_GRV, KC_TILD, KC_COLN,
KC_LSFT, KC_ESC, KC_RGUI, KC_LALT, KC_DQUO, KC_TAB, XXXXXXX, KC_RCTL, KC_RALT, KC_DEL,
_______, _______, _______
),
- [_ADJUST] = LAYOUT_reviung34_2uL(
+ [_ADJUST] = LAYOUT_reviung34_2u(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PSCR,
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
KC_F11, KC_F12, KC_CAPS, XXXXXXX, XXXXXXX, RESET, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
diff --git a/keyboards/reviung/reviung34/keymaps/default_2uL/readme.md b/keyboards/reviung/reviung34/keymaps/default_2u/readme.md
index 2e4619fae8..2e4619fae8 100755
--- a/keyboards/reviung/reviung34/keymaps/default_2uL/readme.md
+++ b/keyboards/reviung/reviung34/keymaps/default_2u/readme.md
diff --git a/keyboards/reviung/reviung34/keymaps/default_rgb2u/keymap.c b/keyboards/reviung/reviung34/keymaps/default_rgb2u/keymap.c
index f4f1d3be50..d5a5a2223b 100755
--- a/keyboards/reviung/reviung34/keymaps/default_rgb2u/keymap.c
+++ b/keyboards/reviung/reviung34/keymaps/default_rgb2u/keymap.c
@@ -34,28 +34,28 @@ enum layer_names {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_BASE] = LAYOUT_reviung34_2uL(
+ [_BASE] = LAYOUT_reviung34_2u(
CT_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
SF_Z, AL_X, KC_C, KC_V, KC_B, KC_N, KC_M, CT_CM, AL_DT, SF_SS,
LOWER, KC_SPC, RAISE
),
- [_LOWER] = LAYOUT_reviung34_2uL(
+ [_LOWER] = LAYOUT_reviung34_2u(
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN,
KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_SCLN,
KC_LSFT, KC_ESC, KC_LGUI, KC_LALT, KC_QUOT, KC_HOME, KC_END, KC_PGUP, KC_PGDN, KC_BSPC,
_______, _______, _______
),
- [_RAISE] = LAYOUT_reviung34_2uL(
+ [_RAISE] = LAYOUT_reviung34_2u(
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_LBRC, KC_RBRC, KC_BSLS, XXXXXXX, XXXXXXX, KC_GRV, KC_TILD, KC_COLN,
KC_LSFT, KC_ESC, KC_RGUI, KC_LALT, KC_DQUO, KC_TAB, XXXXXXX, KC_RCTL, KC_RALT, KC_DEL,
_______, _______, _______
),
- [_ADJUST] = LAYOUT_reviung34_2uL(
+ [_ADJUST] = LAYOUT_reviung34_2u(
RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, RGB_TOG, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD,XXXXXXX, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RESET, KC_F11, KC_F12, KC_CAPS, XXXXXXX, KC_PSCR,
diff --git a/keyboards/reviung/reviung34/reviung34.h b/keyboards/reviung/reviung34/reviung34.h
index 8385e5c8c2..1ab783ec36 100755
--- a/keyboards/reviung/reviung34/reviung34.h
+++ b/keyboards/reviung/reviung34/reviung34.h
@@ -38,7 +38,7 @@
{ KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, K38 } \
}
-#define LAYOUT_reviung34_2uL( \
+#define LAYOUT_reviung34_2u( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K35, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K36, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K37, \