Wuque Mammoth20x Layout Macro Refactor (#14568)

* mammoth20x: edit size of RightEncode key in Configurator

* physically arrange layout macro

Arranges the keycodes to resemble the assembled board.

* rename LAYOUT_default to LAYOUT

Includes "layout_aliases" tree in info.json for backwards compatibility.

* rules.mk touch-up

* convert tabs to spaces
* add line break before ENCODER_ENABLE (not included in QMK's template)

* readme.md touch-up

* remove zero-width space characters
* markdown fix for info paragraph
* update link text
This commit is contained in:
James Young 2021-09-23 08:31:11 +00:00 committed by GitHub
parent cc8ffe8fc6
commit f370cec119

View file

@ -17,36 +17,36 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_default(
KC_ESC, KC_PAUS, KC_DEL, KC_MUTE,
[0] = LAYOUT(
KC_ESC, KC_PAUS, KC_DEL, KC_VOLU, KC_MUTE, KC_VOLD,
KC_LNUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_VOLU,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3, KC_VOLD,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT
),
[1] = LAYOUT_default(
_______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, _______,
[1] = LAYOUT(
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______,
_______, _______, _______
),
[2] = LAYOUT_default(
_______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, _______,
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______,
_______, _______, _______
),
[3] = LAYOUT_default(
_______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, _______,
[3] = LAYOUT(
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______,
_______, _______, _______
),
};