summaryrefslogtreecommitdiff
path: root/keyboards/boardsource/beiwagon/keymaps/via/keymap.c
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-07-12 23:18:53 -0600
committerGitHub <noreply@github.com>2022-07-12 22:18:53 -0700
commitb99ccd4f064e15c7ea94184986e396603bfa1dc2 (patch)
treea39bc15235b198bd1f5a315f79a1b1cd6a3d92d2 /keyboards/boardsource/beiwagon/keymaps/via/keymap.c
parent5a126e1a74746210492dda36b10dabdf34d90836 (diff)
downloadqmk_firmware-b99ccd4f064e15c7ea94184986e396603bfa1dc2.tar.gz
qmk_firmware-b99ccd4f064e15c7ea94184986e396603bfa1dc2.zip
[Keyboard] boardsource/beiwagon data driven (#17631)
Diffstat (limited to 'keyboards/boardsource/beiwagon/keymaps/via/keymap.c')
-rw-r--r--keyboards/boardsource/beiwagon/keymaps/via/keymap.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/keyboards/boardsource/beiwagon/keymaps/via/keymap.c b/keyboards/boardsource/beiwagon/keymaps/via/keymap.c
index 396a0c7207..ca068adab4 100644
--- a/keyboards/boardsource/beiwagon/keymaps/via/keymap.c
+++ b/keyboards/boardsource/beiwagon/keymaps/via/keymap.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 Boardsource
+/* Copyright 2022 Boardsource
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,30 +18,35 @@
enum layers {
_MAIN,
- _RAISE,
- _LOWER,
+ _RAISE
};
-// Readability keycodes
#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
[_MAIN] = LAYOUT(
KC_7, KC_8, KC_9,
KC_4, KC_5, KC_6,
KC_1, KC_2, KC_3,
KC_0, KC_PENT,RAISE
),
-
[_RAISE] = LAYOUT(
KC_7, KC_8, RGB_TOG,
KC_4, KC_5, RGB_MOD,
KC_1, KC_2, KC_3,
- KC_0, KC_PENT,KC_TRNS
-
+ KC_0, KC_PENT,_______
+ ),
+ [2] = LAYOUT(
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______
+ ),
+ [3] = LAYOUT(
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______
)
-
};
-