summaryrefslogtreecommitdiff
path: root/keyboards/wuque/mammoth20x/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-09-23 08:31:11 +0000
committerGitHub <noreply@github.com>2021-09-23 01:31:11 -0700
commit66857b919beccfc9d3395ffe1f88cb39e044aca3 (patch)
tree81cb1a6df22c4659f76a819878a6924d47dc1375 /keyboards/wuque/mammoth20x/keymaps/default/keymap.c
parent62ef4a9c8a05d52000504eabef0f1d92a74ade86 (diff)
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
Diffstat (limited to 'keyboards/wuque/mammoth20x/keymaps/default/keymap.c')
-rw-r--r--keyboards/wuque/mammoth20x/keymaps/default/keymap.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/wuque/mammoth20x/keymaps/default/keymap.c b/keyboards/wuque/mammoth20x/keymaps/default/keymap.c
index 77946f373d..e19b3bc172 100644
--- a/keyboards/wuque/mammoth20x/keymaps/default/keymap.c
+++ b/keyboards/wuque/mammoth20x/keymaps/default/keymap.c
@@ -17,20 +17,20 @@
#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(
+ _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______,
+ _______, _______, _______,
_______, _______, _______, _______,
+ _______, _______, _______,
_______, _______, _______
),
};