mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-06 15:44:17 -04:00
[Keyboard] boardsource/beiwagon data driven (#17631)
This commit is contained in:
parent
035ce0fa82
commit
ec5e7c693a
2 changed files with 15 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright 2020 Boardsource
|
/* Copyright 2022 Boardsource
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -18,30 +18,35 @@
|
||||||
|
|
||||||
enum layers {
|
enum layers {
|
||||||
_MAIN,
|
_MAIN,
|
||||||
_RAISE,
|
_RAISE
|
||||||
_LOWER,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Readability keycodes
|
|
||||||
#define LOWER MO(_LOWER)
|
#define LOWER MO(_LOWER)
|
||||||
#define RAISE MO(_RAISE)
|
#define RAISE MO(_RAISE)
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[_MAIN] = LAYOUT(
|
[_MAIN] = LAYOUT(
|
||||||
KC_7, KC_8, KC_9,
|
KC_7, KC_8, KC_9,
|
||||||
KC_4, KC_5, KC_6,
|
KC_4, KC_5, KC_6,
|
||||||
KC_1, KC_2, KC_3,
|
KC_1, KC_2, KC_3,
|
||||||
KC_0, KC_PENT,RAISE
|
KC_0, KC_PENT,RAISE
|
||||||
),
|
),
|
||||||
|
|
||||||
[_RAISE] = LAYOUT(
|
[_RAISE] = LAYOUT(
|
||||||
KC_7, KC_8, RGB_TOG,
|
KC_7, KC_8, RGB_TOG,
|
||||||
KC_4, KC_5, RGB_MOD,
|
KC_4, KC_5, RGB_MOD,
|
||||||
KC_1, KC_2, KC_3,
|
KC_1, KC_2, KC_3,
|
||||||
KC_0, KC_PENT,KC_TRNS
|
KC_0, KC_PENT,_______
|
||||||
|
),
|
||||||
|
[2] = LAYOUT(
|
||||||
|
_______, _______, _______,
|
||||||
|
_______, _______, _______,
|
||||||
|
_______, _______, _______,
|
||||||
|
_______, _______, _______
|
||||||
|
),
|
||||||
|
[3] = LAYOUT(
|
||||||
|
_______, _______, _______,
|
||||||
|
_______, _______, _______,
|
||||||
|
_______, _______, _______,
|
||||||
|
_______, _______, _______
|
||||||
)
|
)
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
# The via keymap for Beiwagon
|
|
Loading…
Add table
Add a link
Reference in a new issue