refactor bear_face/v1, v2 (#24060)
Co-authored-by: jack <jack@pngu.org>
This commit is contained in:
parent
f637ff8966
commit
d69b44e68a
10 changed files with 135 additions and 78 deletions
|
|
@ -1,19 +1,5 @@
|
|||
/*
|
||||
Copyright 2020 chemicalwill <https://github.com/chemicalwill>
|
||||
|
||||
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
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/* Copyright 2024 will-hedges */
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
|
@ -28,7 +14,7 @@ enum layers {
|
|||
|
||||
//custom keycode enums
|
||||
enum custom_keycodes {
|
||||
BASE_QWER = SAFE_RANGE,
|
||||
BASE_QWER = QK_USER,
|
||||
BASE_COLE,
|
||||
BASE_DVOR
|
||||
};
|
||||
|
|
@ -82,8 +68,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
*/
|
||||
};
|
||||
|
||||
//macros to allow the user to set whatever default layer they want, even after reboot
|
||||
|
||||
// macros to allow the user to set whatever default layer they want, even after reboot
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case BASE_QWER:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue