-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding bm60ec rgb #12852
Adding bm60ec rgb #12852
Conversation
Please revert all changes outside of the keyboard addition, itself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have a lot of additions changes outside of the bm60ec rgb keyboard.
Please revert these changes. If you need help with this, don't hesitate to ask.
@@ -0,0 +1,23 @@ | |||
#pragma once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a GPL2+ compatible license header here?
For instance:
qmk_firmware/quantum/template/base/keyboard.c
Lines 1 to 15 in 28ff511
/* Copyright %YEAR% %YOUR_NAME% | |
* | |
* 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/>. | |
*/ |
|
||
#define RGB_DI_PIN D3 | ||
#define RGBLED_NUM 20 | ||
#define RGBLIGHT_ANIMATIONS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explicitly define which animations are enabled?
#define RGBLIGHT_ANIMATIONS | |
#define RGBLIGHT_EFFECT_BREATHING | |
#define RGBLIGHT_EFFECT_RAINBOW_MOOD | |
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL | |
#define RGBLIGHT_EFFECT_SNAKE | |
#define RGBLIGHT_EFFECT_KNIGHT | |
#define RGBLIGHT_EFFECT_CHRISTMAS | |
#define RGBLIGHT_EFFECT_STATIC_GRADIENT | |
#define RGBLIGHT_EFFECT_RGB_TEST | |
#define RGBLIGHT_EFFECT_ALTERNATING | |
#define RGBLIGHT_EFFECT_TWINKLE |
@@ -0,0 +1,252 @@ | |||
#include QMK_KEYBOARD_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a GPL2+ compatible license header here?
For instance:
qmk_firmware/quantum/template/base/keyboard.c
Lines 1 to 15 in 28ff511
/* Copyright %YEAR% %YOUR_NAME% | |
* | |
* 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/>. | |
*/ |
#ifdef AUDIO_ENABLE | ||
#include "audio.h" | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#ifdef AUDIO_ENABLE | |
#include "audio.h" | |
#endif |
#include "audio.h" | ||
#endif | ||
|
||
extern keymap_config_t keymap_config; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extern keymap_config_t keymap_config; |
@@ -0,0 +1,25 @@ | |||
#pragma once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a GPL2+ compatible license header here?
For instance:
qmk_firmware/quantum/template/base/keyboard.c
Lines 1 to 15 in 28ff511
/* Copyright %YEAR% %YOUR_NAME% | |
* | |
* 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/>. | |
*/ |
|
||
#define RGB_DI_PIN F6 | ||
#define RGBLED_NUM 6 | ||
#define RGBLIGHT_ANIMATIONS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explicitly define which animations are enabled?
#define RGBLIGHT_ANIMATIONS | |
#define RGBLIGHT_EFFECT_BREATHING | |
#define RGBLIGHT_EFFECT_RAINBOW_MOOD | |
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL | |
#define RGBLIGHT_EFFECT_SNAKE | |
#define RGBLIGHT_EFFECT_KNIGHT | |
#define RGBLIGHT_EFFECT_CHRISTMAS | |
#define RGBLIGHT_EFFECT_STATIC_GRADIENT | |
#define RGBLIGHT_EFFECT_RGB_TEST | |
#define RGBLIGHT_EFFECT_ALTERNATING | |
#define RGBLIGHT_EFFECT_TWINKLE |
@@ -0,0 +1,80 @@ | |||
#include QMK_KEYBOARD_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a GPL2+ compatible license header here?
For instance:
qmk_firmware/quantum/template/base/keyboard.c
Lines 1 to 15 in 28ff511
/* Copyright %YEAR% %YOUR_NAME% | |
* | |
* 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/>. | |
*/ |
@@ -0,0 +1,17 @@ | |||
#pragma once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a GPL2+ compatible license header here?
For instance:
qmk_firmware/quantum/template/base/keyboard.c
Lines 1 to 15 in 28ff511
/* Copyright %YEAR% %YOUR_NAME% | |
* | |
* 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/>. | |
*/ |
KPrepublic PCBs are now located within |
Also, I standardized the naming format for KPrepublic PCBs. (see #15047) See if you can rename the board to bm60ec |
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: takashicompany <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]>
acting in lieu of bdtc123 Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Thank you for your contribution! |
Thank you for your contribution! |
Hi, I wrote the keyboard "bm60ec rgb" which is the bm60 with rotary encoder that was missing in the QMK master branch.
Description
created a new directory under keyboard called bm60ec_rgb, and added all the required files, including via support
Types of Changes
Issues Fixed or Closed by This PR
Checklist