diff --git a/keyboards/yandrstudio/cool87/keymaps/default/keymap.c b/keyboards/yandrstudio/cool87/keymaps/default/keymap.c index 25f9f7c5742a..81ac5d700c00 100755 --- a/keyboards/yandrstudio/cool87/keymaps/default/keymap.c +++ b/keyboards/yandrstudio/cool87/keymaps/default/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { diff --git a/keyboards/yandrstudio/nlhhkb/keymaps/default/keymap.c b/keyboards/yandrstudio/nlhhkb/keymaps/default/keymap.c index df59d571e308..20ae2f29aa10 100644 --- a/keyboards/yandrstudio/nlhhkb/keymaps/default/keymap.c +++ b/keyboards/yandrstudio/nlhhkb/keymaps/default/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { diff --git a/keyboards/yandrstudio/nlhhkb/keymaps/via/keymap.c b/keyboards/yandrstudio/nlhhkb/keymaps/via/keymap.c index f514a69a6adf..024dbaabbf14 100644 --- a/keyboards/yandrstudio/nlhhkb/keymaps/via/keymap.c +++ b/keyboards/yandrstudio/nlhhkb/keymaps/via/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { diff --git a/keyboards/yandrstudio/r65ble/config.h b/keyboards/yandrstudio/r65ble/config.h index 320c36188469..e9d082d8129f 100644 --- a/keyboards/yandrstudio/r65ble/config.h +++ b/keyboards/yandrstudio/r65ble/config.h @@ -14,8 +14,7 @@ * along with this program. If not, see . */ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once #include "config_common.h" @@ -103,6 +102,3 @@ # define DEBUG_MATRIX_SCAN_RATE #endif -#endif - - diff --git a/keyboards/yandrstudio/r65ble/jason_fount.c b/keyboards/yandrstudio/r65ble/jason_fount.c index 2c37f38e61c1..3ca304212e03 100644 --- a/keyboards/yandrstudio/r65ble/jason_fount.c +++ b/keyboards/yandrstudio/r65ble/jason_fount.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include "progmem.h" // Helidox 8x6 font with QMK Firmware Logo diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/config.h b/keyboards/yandrstudio/r65ble/keymaps/test_oled/config.h index 5657b8d1b817..4f9659fc8fda 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/config.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/config.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + /* OLED */ #ifdef OLED_DRIVER_ENABLE // # define OLED_DISPLAY_128X64 diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.c b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.c index 65057611df97..d194a6eb7d0f 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.c +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include "kb_press_graph.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.h b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.h index f90083093680..b06b32ad8cd2 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/kb_press_graph.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #pragma once #include "progmem.h" #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/my_pic_lib.h b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/my_pic_lib.h index fe8ac056614d..29a604de7bab 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/my_pic_lib.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/my_pic_lib.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #pragma once #include "progmem.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.c b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.c index cf92759651b0..d89ca58ae578 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.c +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "wpm_graph.h" // #include "print.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.h b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.h index 0a7fcaa91dd9..d5334fd50fc8 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/graph_lib/wpm_graph.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/keymap.c b/keyboards/yandrstudio/r65ble/keymaps/test_oled/keymap.c index 5b9394438ef9..d27c3ab43f8a 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/keymap.c +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H #include "dynamic_keymap.h" #include "raw_hid.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_oled/rgb_matrix_user.inc b/keyboards/yandrstudio/r65ble/keymaps/test_oled/rgb_matrix_user.inc index 03aa3b20015b..fb7c3ccec612 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_oled/rgb_matrix_user.inc +++ b/keyboards/yandrstudio/r65ble/keymaps/test_oled/rgb_matrix_user.inc @@ -1,19 +1,18 @@ -/* -Copyright 2020 Evy Dekkers - -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 . -*/ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_COL) RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_ROW) diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_rgb/config.h b/keyboards/yandrstudio/r65ble/keymaps/test_rgb/config.h index ca4e95960601..5cdf3de6bc67 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_rgb/config.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_rgb/config.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + /* OLED */ #ifdef OLED_DRIVER_ENABLE // # define OLED_DISPLAY_128X64 diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_rgb/keymap.c b/keyboards/yandrstudio/r65ble/keymaps/test_rgb/keymap.c index c9257e2ba6bf..7ed789fdcc5f 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_rgb/keymap.c +++ b/keyboards/yandrstudio/r65ble/keymaps/test_rgb/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H #include "dynamic_keymap.h" #include "raw_hid.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_rgb/rgb_matrix_user.inc b/keyboards/yandrstudio/r65ble/keymaps/test_rgb/rgb_matrix_user.inc index 03aa3b20015b..fb7c3ccec612 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_rgb/rgb_matrix_user.inc +++ b/keyboards/yandrstudio/r65ble/keymaps/test_rgb/rgb_matrix_user.inc @@ -1,19 +1,18 @@ -/* -Copyright 2020 Evy Dekkers - -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 . -*/ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_COL) RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_ROW) diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_uart/config.h b/keyboards/yandrstudio/r65ble/keymaps/test_uart/config.h index ca4e95960601..dfac51cebce3 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_uart/config.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_uart/config.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ /* OLED */ #ifdef OLED_DRIVER_ENABLE // # define OLED_DISPLAY_128X64 diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_uart/keymap.c b/keyboards/yandrstudio/r65ble/keymaps/test_uart/keymap.c index 598b7c06e1d4..24720bc841a5 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_uart/keymap.c +++ b/keyboards/yandrstudio/r65ble/keymaps/test_uart/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H #include #include "dynamic_keymap.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_via/config.h b/keyboards/yandrstudio/r65ble/keymaps/test_via/config.h index ca4e95960601..5cdf3de6bc67 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_via/config.h +++ b/keyboards/yandrstudio/r65ble/keymaps/test_via/config.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + /* OLED */ #ifdef OLED_DRIVER_ENABLE // # define OLED_DISPLAY_128X64 diff --git a/keyboards/yandrstudio/r65ble/keymaps/test_via/keymap.c b/keyboards/yandrstudio/r65ble/keymaps/test_via/keymap.c index f895f5afce0a..e9648d74b4fa 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/test_via/keymap.c +++ b/keyboards/yandrstudio/r65ble/keymaps/test_via/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include QMK_KEYBOARD_H #include #include "dynamic_keymap.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/config.h b/keyboards/yandrstudio/r65ble/keymaps/via/config.h index 2cc86c1fd1f4..837baf7f622a 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/config.h +++ b/keyboards/yandrstudio/r65ble/keymaps/via/config.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ /* OLED */ #ifdef OLED_DRIVER_ENABLE // # define OLED_DISPLAY_128X64 diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.c b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.c index 65057611df97..2a32ff94676f 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.c +++ b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "kb_press_graph.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.h b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.h index f90083093680..2d77ffe36593 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.h +++ b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/kb_press_graph.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "progmem.h" #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/my_pic_lib.h b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/my_pic_lib.h index fe8ac056614d..e7637978c448 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/my_pic_lib.h +++ b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/my_pic_lib.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "progmem.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.c b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.c index 0c84679b3ea8..6401bcb15b5e 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.c +++ b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "wpm_graph.h" // #include "print.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.h b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.h index 0a7fcaa91dd9..d5334fd50fc8 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.h +++ b/keyboards/yandrstudio/r65ble/keymaps/via/graph_lib/wpm_graph.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/keymap.c b/keyboards/yandrstudio/r65ble/keymaps/via/keymap.c index 35bfd594713d..114032b6ae00 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/keymap.c +++ b/keyboards/yandrstudio/r65ble/keymaps/via/keymap.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include QMK_KEYBOARD_H #include "dynamic_keymap.h" #include "raw_hid.h" diff --git a/keyboards/yandrstudio/r65ble/keymaps/via/rgb_matrix_user.inc b/keyboards/yandrstudio/r65ble/keymaps/via/rgb_matrix_user.inc index 03aa3b20015b..fb7c3ccec612 100644 --- a/keyboards/yandrstudio/r65ble/keymaps/via/rgb_matrix_user.inc +++ b/keyboards/yandrstudio/r65ble/keymaps/via/rgb_matrix_user.inc @@ -1,19 +1,18 @@ -/* -Copyright 2020 Evy Dekkers - -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 . -*/ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_COL) RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_ROW) diff --git a/keyboards/yandrstudio/r65ble/r65ble.c b/keyboards/yandrstudio/r65ble/r65ble.c index 1d67f52c6b30..7d353f7680fc 100644 --- a/keyboards/yandrstudio/r65ble/r65ble.c +++ b/keyboards/yandrstudio/r65ble/r65ble.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include "r65ble.h" diff --git a/keyboards/yandrstudio/r65ble/r65ble.h b/keyboards/yandrstudio/r65ble/r65ble.h index c55c937e630e..2deab40e0e58 100644 --- a/keyboards/yandrstudio/r65ble/r65ble.h +++ b/keyboards/yandrstudio/r65ble/r65ble.h @@ -1,5 +1,20 @@ -#ifndef RAINBOW65_H -#define RAINBOW65_H +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + +#pragma once #include "quantum.h" @@ -17,4 +32,3 @@ { K400, K401, K402, K403, K404, K405, KC_NO, KC_NO, K408, K409, K410, K411, K412, K413, KC_NO} \ } -#endif diff --git a/keyboards/yandrstudio/rainbow65/jason_fount.c b/keyboards/yandrstudio/rainbow65/jason_fount.c index 2c37f38e61c1..919e867b1e4d 100755 --- a/keyboards/yandrstudio/rainbow65/jason_fount.c +++ b/keyboards/yandrstudio/rainbow65/jason_fount.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "progmem.h" // Helidox 8x6 font with QMK Firmware Logo diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.c b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.c index 65057611df97..2a32ff94676f 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "kb_press_graph.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.h b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.h index f90083093680..b06b32ad8cd2 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/kb_press_graph.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #pragma once #include "progmem.h" #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/my_pic_lib.h b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/my_pic_lib.h index fe8ac056614d..29a604de7bab 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/my_pic_lib.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/my_pic_lib.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #pragma once #include "progmem.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.c b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.c index cf92759651b0..f4bc4f856464 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include "wpm_graph.h" // #include "print.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.h b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.h index 0a7fcaa91dd9..4d8ba257d668 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/graph_lib/wpm_graph.h @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #pragma once #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/keymap.c b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/keymap.c index d480a4e3eb3f..f803e3ea6689 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_oled/keymap.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_oled/keymap.c @@ -1,4 +1,21 @@ -#include "rainbow65.h" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + +#include QMK_KEYBOARD_H + #include "dynamic_keymap.h" #include "raw_hid.h" #include "print.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_rgb/keymap.c b/keyboards/yandrstudio/rainbow65/keymaps/test_rgb/keymap.c index e283c38f4f44..7ed789fdcc5f 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_rgb/keymap.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_rgb/keymap.c @@ -1,4 +1,20 @@ -#include "rainbow65.h" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + +#include QMK_KEYBOARD_H #include "dynamic_keymap.h" #include "raw_hid.h" #include "print.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/test_via/keymap.c b/keyboards/yandrstudio/rainbow65/keymaps/test_via/keymap.c index 5b4dbdacd3db..dc396f5e1154 100755 --- a/keyboards/yandrstudio/rainbow65/keymaps/test_via/keymap.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/test_via/keymap.c @@ -1,4 +1,21 @@ -#include "rainbow65.h" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + + +#include QMK_KEYBOARD_H #include #include "dynamic_keymap.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/config.h b/keyboards/yandrstudio/rainbow65/keymaps/via/config.h index 2cc86c1fd1f4..b33be15dd540 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/config.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/config.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + /* OLED */ #ifdef OLED_DRIVER_ENABLE // # define OLED_DISPLAY_128X64 diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.c b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.c index 65057611df97..2a32ff94676f 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "kb_press_graph.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.h b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.h index f90083093680..2d77ffe36593 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/kb_press_graph.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "progmem.h" #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/my_pic_lib.h b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/my_pic_lib.h index fe8ac056614d..e7637978c448 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/my_pic_lib.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/my_pic_lib.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "progmem.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.c b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.c index 0c84679b3ea8..6401bcb15b5e 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "wpm_graph.h" // #include "print.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.h b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.h index 0a7fcaa91dd9..d5334fd50fc8 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.h +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/graph_lib/wpm_graph.h @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #pragma once #include "../dev_oled/oled_driver.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/keymap.c b/keyboards/yandrstudio/rainbow65/keymaps/via/keymap.c index 060b5f8c8bf2..158cb8e7fcab 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/keymap.c +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/keymap.c @@ -1,4 +1,20 @@ -#include "rainbow65.h" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + +#include QMK_KEYBOARD_H #include "dynamic_keymap.h" #include "raw_hid.h" #include "print.h" diff --git a/keyboards/yandrstudio/rainbow65/keymaps/via/rgb_matrix_user.inc b/keyboards/yandrstudio/rainbow65/keymaps/via/rgb_matrix_user.inc index 03aa3b20015b..fb7c3ccec612 100644 --- a/keyboards/yandrstudio/rainbow65/keymaps/via/rgb_matrix_user.inc +++ b/keyboards/yandrstudio/rainbow65/keymaps/via/rgb_matrix_user.inc @@ -1,19 +1,18 @@ -/* -Copyright 2020 Evy Dekkers - -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 . -*/ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_COL) RGB_MATRIX_EFFECT(AUDIO_VISUALIZATION_ROW) diff --git a/keyboards/yandrstudio/rainbow65/rainbow65.c b/keyboards/yandrstudio/rainbow65/rainbow65.c index 6a58312059dd..3f1db1b717de 100755 --- a/keyboards/yandrstudio/rainbow65/rainbow65.c +++ b/keyboards/yandrstudio/rainbow65/rainbow65.c @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + #include "rainbow65.h" diff --git a/keyboards/yandrstudio/sb65p/keymaps/default/keymap.c b/keyboards/yandrstudio/sb65p/keymaps/default/keymap.c index 890c2b9bf54a..b89673788e3e 100644 --- a/keyboards/yandrstudio/sb65p/keymaps/default/keymap.c +++ b/keyboards/yandrstudio/sb65p/keymaps/default/keymap.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { diff --git a/keyboards/yandrstudio/sb65p/matrix.c b/keyboards/yandrstudio/sb65p/matrix.c index 3658a28caf68..712ff5654e81 100644 --- a/keyboards/yandrstudio/sb65p/matrix.c +++ b/keyboards/yandrstudio/sb65p/matrix.c @@ -1,4 +1,5 @@ /* Copyright 2017 Mattia Dal Ben + * Modified by: 2021 Jason Ren(biu) * * 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 diff --git a/keyboards/yandrstudio/sb65p/sb65p.c b/keyboards/yandrstudio/sb65p/sb65p.c index 4ed5dbb769c0..04b6bd616210 100644 --- a/keyboards/yandrstudio/sb65p/sb65p.c +++ b/keyboards/yandrstudio/sb65p/sb65p.c @@ -1,3 +1,18 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ #include "sb65p.h" diff --git a/keyboards/yandrstudio/split_blackpill/chconf.h b/keyboards/yandrstudio/split_blackpill/chconf.h deleted file mode 100644 index e98ee9d790b0..000000000000 --- a/keyboards/yandrstudio/split_blackpill/chconf.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/zvecr/split_blackpill/chconf.h -r platforms/chibios/common/configs/chconf.h` - */ - -#pragma once - -#define CH_CFG_ST_TIMEDELTA 0 - -#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE - -#include_next - diff --git a/keyboards/yandrstudio/split_blackpill/config.h b/keyboards/yandrstudio/split_blackpill/config.h deleted file mode 100644 index 33653abc6448..000000000000 --- a/keyboards/yandrstudio/split_blackpill/config.h +++ /dev/null @@ -1,179 +0,0 @@ -/* Copyright 2020 zvecr - * - * 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 . - */ -#pragma once - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x5A56 -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER zvecr -#define PRODUCT split_blackpill - -/* key matrix size */ -#define MATRIX_ROWS 8 // Rows are doubled-up -#define MATRIX_COLS 6 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_COL_PINS { B11, B10, B1, B0, A7, A6 } -#define MATRIX_ROW_PINS { B15, B14, B13, B12 } -#define MATRIX_COL_PINS_RIGHT { B12, B13, B14, B15, A8, A9 } -#define MATRIX_ROW_PINS_RIGHT { B0, B1, B10, B11 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -#define MATRIX_IO_DELAY 5 - -/* - * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. - */ -#define SPLIT_HAND_PIN B3 -#define SOFT_SERIAL_PIN B6 -#define SELECT_SOFT_SERIAL_SPEED 0 - -#define RGB_DI_PIN B4 -#define RGBLED_NUM 24 -#define RGBLED_SPLIT { 12, 12 } -#define RGBLIGHT_ANIMATIONS - -#define WS2812_PWM_DRIVER PWMD3 -#define WS2812_PWM_CHANNEL 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Magic Key Options - * - * Magic keys are hotkey commands that allow control over firmware functions of - * the keyboard. They are best used in combination with the HID Listen program, - * found here: https://www.pjrc.com/teensy/hid_listen.html - * - * The options below allow the magic key functionality to be changed. This is - * useful if your keyboard/keypad is missing keys and you want magic key support. - * - */ - -/* key combination for magic key command */ -/* defined by default; to change, uncomment and set to the combination you want */ -// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) - -/* control how magic key switches layers */ -//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true -//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true -//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false - -/* override magic key keymap */ -//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS -//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS -//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM -//#define MAGIC_KEY_HELP H -//#define MAGIC_KEY_HELP_ALT SLASH -//#define MAGIC_KEY_DEBUG D -//#define MAGIC_KEY_DEBUG_MATRIX X -//#define MAGIC_KEY_DEBUG_KBD K -//#define MAGIC_KEY_DEBUG_MOUSE M -//#define MAGIC_KEY_VERSION V -//#define MAGIC_KEY_STATUS S -//#define MAGIC_KEY_CONSOLE C -//#define MAGIC_KEY_LAYER0 0 -//#define MAGIC_KEY_LAYER0_ALT GRAVE -//#define MAGIC_KEY_LAYER1 1 -//#define MAGIC_KEY_LAYER2 2 -//#define MAGIC_KEY_LAYER3 3 -//#define MAGIC_KEY_LAYER4 4 -//#define MAGIC_KEY_LAYER5 5 -//#define MAGIC_KEY_LAYER6 6 -//#define MAGIC_KEY_LAYER7 7 -//#define MAGIC_KEY_LAYER8 8 -//#define MAGIC_KEY_LAYER9 9 -//#define MAGIC_KEY_BOOTLOADER B -//#define MAGIC_KEY_BOOTLOADER_ALT ESC -//#define MAGIC_KEY_LOCK CAPS -//#define MAGIC_KEY_EEPROM E -//#define MAGIC_KEY_EEPROM_CLEAR BSPACE -//#define MAGIC_KEY_NKRO N -//#define MAGIC_KEY_SLEEP_LED Z - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -/* disable these deprecated features by default */ -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION - -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 -#define BOOTMAGIC_LITE_ROW_RIGHT 4 -#define BOOTMAGIC_LITE_COLUMN_RIGHT 0 diff --git a/keyboards/yandrstudio/split_blackpill/halconf.h b/keyboards/yandrstudio/split_blackpill/halconf.h deleted file mode 100644 index 0ee73f028adb..000000000000 --- a/keyboards/yandrstudio/split_blackpill/halconf.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/zvecr/split_blackpill/halconf.h -r platforms/chibios/common/configs/halconf.h` - */ - -#pragma once - -#define HAL_USE_PWM TRUE - -#define HAL_USE_SERIAL TRUE - -#include_next - diff --git a/keyboards/yandrstudio/split_blackpill/info.json b/keyboards/yandrstudio/split_blackpill/info.json deleted file mode 100644 index d43dc6f403de..000000000000 --- a/keyboards/yandrstudio/split_blackpill/info.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "keyboard_name": "split_blackpill", - "url": "", - "maintainer": "zvecr", - "width": 12, - "height": 4, - "layouts": { - "LAYOUT_ortho_4x12": { - "key_count": 48, - "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}] - } - } -} diff --git a/keyboards/yandrstudio/split_blackpill/keymaps/default/keymap.c b/keyboards/yandrstudio/split_blackpill/keymaps/default/keymap.c deleted file mode 100644 index f9428c3292da..000000000000 --- a/keyboards/yandrstudio/split_blackpill/keymaps/default/keymap.c +++ /dev/null @@ -1,91 +0,0 @@ -#include QMK_KEYBOARD_H - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _QWERTY, - _LOWER, - _RAISE, - _ADJUST, -}; - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | App |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - KC_LCTL, KC_LGUI, KC_LALT, KC_APP, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | |R Tog |R Mode|R Rev |R Grad| Reset| | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | |R HUI|R SAI|R VAI| | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | |R HUD|R SAD|R VAD| | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_4x12( - _______, RESET, _______, _______, _______, _______, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_M_G, RESET, _______, - _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, - _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) - -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} diff --git a/keyboards/yandrstudio/split_blackpill/mcuconf.h b/keyboards/yandrstudio/split_blackpill/mcuconf.h deleted file mode 100644 index 01cb4f40f42e..000000000000 --- a/keyboards/yandrstudio/split_blackpill/mcuconf.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/zvecr/split_blackpill/mcuconf.h -r platforms/chibios/STM32_F103_STM32DUINO/configs/mcuconf.h` - */ - -#pragma once - -#include_next - -#undef STM32_PWM_USE_TIM3 -#define STM32_PWM_USE_TIM3 TRUE - -#undef STM32_SERIAL_USE_USART1 -#define STM32_SERIAL_USE_USART1 TRUE - -#undef STM32_SPI_USE_SPI2 -#define STM32_SPI_USE_SPI2 FALSE - diff --git a/keyboards/yandrstudio/split_blackpill/readme.md b/keyboards/yandrstudio/split_blackpill/readme.md deleted file mode 100644 index 811e308f7796..000000000000 --- a/keyboards/yandrstudio/split_blackpill/readme.md +++ /dev/null @@ -1,15 +0,0 @@ -# split_blackpill - -![split_blackpill](https://i.imgur.com/cQTWvDFl.jpg) - -ARM Split ortho_4x12 mechanical keyboard. - -* Keyboard Maintainer: [zvecr](https://github.com/zvecr) -* Hardware Supported: f103 blackpill -* Hardware Availability: [repo](https://github.com/zvecr/split_blackpill) - -Make example for this keyboard (after setting up your build environment): - - make zvecr/split_blackpill:default - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/yandrstudio/split_blackpill/rules.mk b/keyboards/yandrstudio/split_blackpill/rules.mk deleted file mode 100644 index 8ba870e18f46..000000000000 --- a/keyboards/yandrstudio/split_blackpill/rules.mk +++ /dev/null @@ -1,33 +0,0 @@ -# MCU name -MCU = STM32F103 - -# Bootloader selection -BOOTLOADER = stm32duino - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -MIDI_ENABLE = no # MIDI support -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output - -SPLIT_KEYBOARD = yes -SERIAL_DRIVER = usart -WS2812_DRIVER = pwm - -LAYOUTS = ortho_4x12 - -# Disable unsupported hardware -AUDIO_SUPPORTED = no -BACKLIGHT_SUPPORTED = no diff --git a/keyboards/yandrstudio/split_blackpill/split_blackpill.c b/keyboards/yandrstudio/split_blackpill/split_blackpill.c deleted file mode 100644 index 141f76e7b345..000000000000 --- a/keyboards/yandrstudio/split_blackpill/split_blackpill.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2020 zvecr - * - * 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 . - */ -#include "split_blackpill.h" - -void keyboard_pre_init_kb(void){ - // Workaround for reversible pcb/mcu - palSetLineMode(C13, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(B9, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(B8, PAL_MODE_OUTPUT_OPENDRAIN); - - keyboard_pre_init_user(); -} - -void board_init(void) { - AFIO->MAPR |= AFIO_MAPR_USART1_REMAP | AFIO_MAPR_TIM3_REMAP_PARTIALREMAP; -} diff --git a/keyboards/yandrstudio/split_blackpill/split_blackpill.h b/keyboards/yandrstudio/split_blackpill/split_blackpill.h deleted file mode 100644 index 27504492ef3d..000000000000 --- a/keyboards/yandrstudio/split_blackpill/split_blackpill.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright 2020 zvecr - * - * 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 . - */ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_4x12( \ - L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ - L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ - L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ - L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ - ) \ - { \ - { L00, L01, L02, L03, L04, L05 }, \ - { L10, L11, L12, L13, L14, L15 }, \ - { L20, L21, L22, L23, L24, L25 }, \ - { L30, L31, L32, L33, L34, L35 }, \ - { R05, R04, R03, R02, R01, R00 }, \ - { R15, R14, R13, R12, R11, R10 }, \ - { R25, R24, R23, R22, R21, R20 }, \ - { R35, R34, R33, R32, R31, R30 } \ - } diff --git a/keyboards/yandrstudio/tdcq68/config.h b/keyboards/yandrstudio/tdcq68/config.h new file mode 100644 index 000000000000..e85c4990efb4 --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/config.h @@ -0,0 +1,76 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xAA96 +#define PRODUCT_ID 0xAA03 +#define DEVICE_VER 0x0001 +#define MANUFACTURER JasonRen biu +#define PRODUCT tdcq68 + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 15 + +// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 +#define MATRIX_COL_PINS { A6, B7, A8, A9,A10, A15, C13, C14, C15, B0, B1, B3, B4, B5, B6} +#define MATRIX_ROW_PINS { A0, A1, A3, A4, A5} + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + + +// enable the nkro when using the VIA. +#define FORCE_NKRO + +// fix VIA RGB_light +#define VIA_HAS_BROKEN_KEYCODES + +/* define if matrix has ghost */ +//#define MATRIX_HAS_GHOST + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 + + + +/* RGN Matrix */ +#ifdef RGB_MATRIX_ENABLE + +# define RGB_DI_PIN A7 +# define RGBLED_NUM 2 +# define DRIVER_LED_TOTAL RGBLED_NUM + +# define WS2812_PWM_DRIVER PWMD3 +# define WS2812_PWM_CHANNEL 4 +# define WS2812_PWM_PAL_MODE 2 +# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 +# define WS2812_DMA_CHANNEL 5 + +# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 +# define RGBLIGHT_VAL_STEP 18 +# define RGB_DISABLE_WHEN_USB_SUSPENDED true +# define RGB_MATRIX_CENTER { 32, 96 } +# define RGB_MATRIX_KEYPRESSES +# define RGB_MATRIX_FRAMEBUFFER_EFFECTS + +#endif + + + diff --git a/keyboards/yandrstudio/tdcq68/f401/board.h b/keyboards/yandrstudio/tdcq68/f401/board.h new file mode 100644 index 000000000000..1b34ad76c1b9 --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/f401/board.h @@ -0,0 +1,24 @@ +/* Copyright 2020 Nick Brassel (tzarc) + * + * 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 3 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 . + */ +#pragma once + +#include_next "board.h" + +#undef STM32_HSE_BYPASS +#ifdef STM32_HSECLK +#undef STM32_HSECLK +#endif // STM32_HSECLK +#define STM32_HSECLK 8000000 diff --git a/keyboards/yandrstudio/zv48/f401/halconf.h b/keyboards/yandrstudio/tdcq68/f401/halconf.h similarity index 96% rename from keyboards/yandrstudio/zv48/f401/halconf.h rename to keyboards/yandrstudio/tdcq68/f401/halconf.h index b42a69399682..ac2f05ffe798 100644 --- a/keyboards/yandrstudio/zv48/f401/halconf.h +++ b/keyboards/yandrstudio/tdcq68/f401/halconf.h @@ -23,7 +23,7 @@ #define HAL_USE_PWM TRUE -#define HAL_USE_SERIAL TRUE +// #define HAL_USE_SERIAL TRUE #define SERIAL_USB_BUFFERS_SIZE 256 diff --git a/keyboards/yandrstudio/tdcq68/f401/mcuconf.h b/keyboards/yandrstudio/tdcq68/f401/mcuconf.h new file mode 100644 index 000000000000..d859b966658b --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/f401/mcuconf.h @@ -0,0 +1,120 @@ +/* Copyright 2020 QMK + * + * 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 . + */ + +/* + * This file was auto-generated by: + * `qmk chibios-confmigrate -i keyboards/zvecr/zv48/f401/mcuconf.h -r platforms/chibios/BLACKPILL_STM32_F401/configs/mcuconf.h` + */ + +#pragma once + +#include_next + +#undef STM32_PWM_USE_TIM3 +#define STM32_PWM_USE_TIM3 TRUE + +#undef STM32_SERIAL_USE_USART1 +#define STM32_SERIAL_USE_USART1 FALSE + + + + +#undef STM32_NO_INIT +#undef STM32_HSI_ENABLED +#undef STM32_LSI_ENABLED +#undef STM32_HSE_ENABLED +#undef STM32_LSE_ENABLED +#undef STM32_CLOCK48_REQUIRED +#undef STM32_SW +#undef STM32_PLLSRC +#undef STM32_PLLM_VALUE +#undef STM32_PLLN_VALUE +#undef STM32_PLLP_VALUE +#undef STM32_PLLQ_VALUE +#undef STM32_HPRE +#undef STM32_PPRE1 +#undef STM32_PPRE2 +#undef STM32_RTCSEL +#undef STM32_RTCPRE_VALUE +#undef STM32_MCO1SEL +#undef STM32_MCO1PRE +#undef STM32_MCO2SEL +#undef STM32_MCO2PRE +#undef STM32_I2SSRC +#undef STM32_PLLI2SN_VALUE +#undef STM32_PLLI2SR_VALUE +#undef STM32_PVD_ENABLE +#undef STM32_PLS +#undef STM32_BKPRAM_ENABLE + +#define STM32_NO_INIT FALSE +#define STM32_HSI_ENABLED TRUE +#define STM32_LSI_ENABLED TRUE +#define STM32_HSE_ENABLED TRUE +#define STM32_LSE_ENABLED FALSE +#define STM32_CLOCK48_REQUIRED TRUE +#define STM32_SW STM32_SW_PLL +#define STM32_PLLSRC STM32_PLLSRC_HSE +#define STM32_PLLM_VALUE 8 +#define STM32_PLLN_VALUE 192 +#define STM32_PLLP_VALUE 4 +#define STM32_PLLQ_VALUE 4 +#define STM32_HPRE STM32_HPRE_DIV1 +#define STM32_PPRE1 STM32_PPRE1_DIV4 +#define STM32_PPRE2 STM32_PPRE2_DIV2 +#define STM32_RTCSEL STM32_RTCSEL_LSI +#define STM32_RTCPRE_VALUE 8 +#define STM32_MCO1SEL STM32_MCO1SEL_HSI +#define STM32_MCO1PRE STM32_MCO1PRE_DIV1 +#define STM32_MCO2SEL STM32_MCO2SEL_SYSCLK +#define STM32_MCO2PRE STM32_MCO2PRE_DIV5 +#define STM32_I2SSRC STM32_I2SSRC_CKIN +#define STM32_PLLI2SN_VALUE 192 +#define STM32_PLLI2SR_VALUE 5 +#define STM32_PVD_ENABLE FALSE +#define STM32_PLS STM32_PLS_LEV0 +#define STM32_BKPRAM_ENABLE FALSE + + + + +// #define STM32_NO_INIT FALSE +// #define STM32_HSI_ENABLED TRUE +// #define STM32_LSI_ENABLED TRUE +// #define STM32_HSE_ENABLED TRUE +// #define STM32_LSE_ENABLED FALSE +// #define STM32_CLOCK48_REQUIRED TRUE +// #define STM32_SW STM32_SW_PLL +// #define STM32_PLLSRC STM32_PLLSRC_HSE +// #define STM32_PLLM_VALUE 25 +// #define STM32_PLLN_VALUE 384 +// #define STM32_PLLP_VALUE 4 +// #define STM32_PLLQ_VALUE 8 +// #define STM32_HPRE STM32_HPRE_DIV1 +// #define STM32_PPRE1 STM32_PPRE1_DIV4 +// #define STM32_PPRE2 STM32_PPRE2_DIV2 +// #define STM32_RTCSEL STM32_RTCSEL_LSI +// #define STM32_RTCPRE_VALUE 8 +// #define STM32_MCO1SEL STM32_MCO1SEL_HSI +// #define STM32_MCO1PRE STM32_MCO1PRE_DIV1 +// #define STM32_MCO2SEL STM32_MCO2SEL_SYSCLK +// #define STM32_MCO2PRE STM32_MCO2PRE_DIV5 +// #define STM32_I2SSRC STM32_I2SSRC_CKIN +// #define STM32_PLLI2SN_VALUE 192 +// #define STM32_PLLI2SR_VALUE 5 +// #define STM32_PVD_ENABLE FALSE +// #define STM32_PLS STM32_PLS_LEV0 +// #define STM32_BKPRAM_ENABLE FALSE diff --git a/keyboards/yandrstudio/zv48/f401/rules.mk b/keyboards/yandrstudio/tdcq68/f401/rules.mk similarity index 74% rename from keyboards/yandrstudio/zv48/f401/rules.mk rename to keyboards/yandrstudio/tdcq68/f401/rules.mk index a087a1cc7857..1685761b4c7c 100644 --- a/keyboards/yandrstudio/zv48/f401/rules.mk +++ b/keyboards/yandrstudio/tdcq68/f401/rules.mk @@ -5,5 +5,5 @@ MCU = STM32F401 STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 # Disable unsupported hardware -AUDIO_SUPPORTED = no -BACKLIGHT_SUPPORTED = no +# AUDIO_SUPPORTED = no +# BACKLIGHT_SUPPORTED = no diff --git a/keyboards/yandrstudio/tdcq68/keymaps/default/keymap.c b/keyboards/yandrstudio/tdcq68/keymaps/default/keymap.c new file mode 100644 index 000000000000..834624d84db1 --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/keymaps/default/keymap.c @@ -0,0 +1,34 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_GRV, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), + + LAYOUT( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) +}; + diff --git a/keyboards/yandrstudio/tdcq68/keymaps/via/keymap.c b/keyboards/yandrstudio/tdcq68/keymaps/via/keymap.c new file mode 100644 index 000000000000..834624d84db1 --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/keymaps/via/keymap.c @@ -0,0 +1,34 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_GRV, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), + + LAYOUT( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) +}; + diff --git a/keyboards/yandrstudio/tdcq68/keymaps/via/rules.mk b/keyboards/yandrstudio/tdcq68/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/yandrstudio/tdcq68/readme.md b/keyboards/yandrstudio/tdcq68/readme.md new file mode 100644 index 000000000000..b3871bc51cb6 --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/readme.md @@ -0,0 +1,15 @@ +tdcq68 +=== + +A 68 keys keyboard with rgb (keys and underground). +This keyboard use 8mhz HSE and STM32F401 as MCU. + +Keyboard Maintainer: https://github.com/jiaxin96 +Hardware Supported: tdcq68 +Hardware Availability: https://github.com/Oh-My-Mechanical-Keyboard + +Make example for this keyboard (after setting up your build environment): + + make yandrstudio/tdcq68/f401:default + +See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/yandrstudio/zv48/rules.mk b/keyboards/yandrstudio/tdcq68/rules.mk similarity index 72% rename from keyboards/yandrstudio/zv48/rules.mk rename to keyboards/yandrstudio/tdcq68/rules.mk index 20c2a110f7ea..79231e242a13 100644 --- a/keyboards/yandrstudio/zv48/rules.mk +++ b/keyboards/yandrstudio/tdcq68/rules.mk @@ -11,19 +11,11 @@ COMMAND_ENABLE = no # Commands for debug and configuration SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = WS2812 -ENCODER_ENABLE = yes # Enable rotary encoder support -MIDI_ENABLE = no # MIDI support -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output # SPLIT_KEYBOARD = yes SERIAL_DRIVER = usart WS2812_DRIVER = pwm -DEFAULT_FOLDER = zvecr/zv48/f401 - -LAYOUTS = ortho_4x12 diff --git a/keyboards/yandrstudio/tdcq68/tdcq68.c b/keyboards/yandrstudio/tdcq68/tdcq68.c new file mode 100644 index 000000000000..696d7aab2f5d --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/tdcq68.c @@ -0,0 +1,64 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +#include "tdcq68.h" + + + + +#ifdef RGB_MATRIX_ENABLE +led_config_t g_led_config = { + { + { 0, 1, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ + { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ + { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ + { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ + { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED } \ + }, + { + // LED Index to Physical Position + {0, 0}, {16, 0} + + }, + { + // LED Index to Flag + 4, 4 + } +}; + +// void rgb_matrix_indicators_kb(void) { +// if (rgb_matrix_is_enabled()) { +// if (biton32(layer_state) == 1) { // UPPER_LAYER = BLUE +// rgb_matrix_set_color(57, 100, 0, 0); +// rgb_matrix_set_color(58, 0, 100, 0); +// rgb_matrix_set_color(60, 100, 0, 0); +// rgb_matrix_set_color(61, 100, 0, 0); +// } +// } +// } + +#endif + +#ifdef RGB_DISABLE_WHEN_USB_SUSPENDED +void suspend_power_down_kb(void) { + rgb_matrix_set_suspend_state(true); + suspend_power_down_user(); +} + +void suspend_wakeup_init_kb(void) { + rgb_matrix_set_suspend_state(false); + suspend_wakeup_init_user(); +} +#endif diff --git a/keyboards/yandrstudio/tdcq68/tdcq68.h b/keyboards/yandrstudio/tdcq68/tdcq68.h new file mode 100644 index 000000000000..3b879b2f86dc --- /dev/null +++ b/keyboards/yandrstudio/tdcq68/tdcq68.h @@ -0,0 +1,32 @@ +/* Copyright 2020 zvecr + * + * 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 . + */ +#pragma once + +#include "quantum.h" + +#define LAYOUT( \ + K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ + K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ + K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, K214, \ + K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \ + K400, K401, K402, K406, K408, K409, K412, K413, K414 \ +) { \ + { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ + { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ + { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, KC_NO, K213, K214 }, \ + { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, KC_NO, K312, K313, K314 }, \ + { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, K408, K409, KC_NO, KC_NO, K412, K413, K414 } \ +} diff --git a/keyboards/yandrstudio/utils/BiuMisicDance/audio_lib.py b/keyboards/yandrstudio/utils/BiuMisicDance/audio_lib.py index d93c05745333..b73b57f3930a 100755 --- a/keyboards/yandrstudio/utils/BiuMisicDance/audio_lib.py +++ b/keyboards/yandrstudio/utils/BiuMisicDance/audio_lib.py @@ -1,8 +1,20 @@ #!/usr/bin/env python3 -"""Plot the live microphone signal(s) with matplotlib. - -Matplotlib and NumPy have to be installed. - +""" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ """ # import argparse import queue @@ -232,4 +244,4 @@ def start_audio_dance(row=5, col=10, is_col_visual=True, dev_idx=None): return stream, rgb_power_list, fft_samp_indexs -start_audio_dance() \ No newline at end of file +start_audio_dance() diff --git a/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool.py b/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool.py index 63675638e17e..64f1dd2165ad 100755 --- a/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool.py +++ b/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool.py @@ -1,3 +1,21 @@ +""" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +""" + import hid import platform import seaborn as sns diff --git a/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool_test.py b/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool_test.py index 320c6eab7ab8..7829cbf7b57d 100755 --- a/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool_test.py +++ b/keyboards/yandrstudio/utils/BiuMisicDance/yandr_hid_tool_test.py @@ -1,3 +1,20 @@ +""" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +""" import hid vid = 0xFEED pid = 0x6060 diff --git a/keyboards/yandrstudio/utils/Font/rotate_font_tool.py b/keyboards/yandrstudio/utils/Font/rotate_font_tool.py index 6efd6817a518..a626db5f080f 100755 --- a/keyboards/yandrstudio/utils/Font/rotate_font_tool.py +++ b/keyboards/yandrstudio/utils/Font/rotate_font_tool.py @@ -1,6 +1,22 @@ +""" +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ +""" + import font_user -# print(font_user.font) -# one_f = [0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x00] cur_H = 8 cur_W = 6 diff --git a/keyboards/yandrstudio/utils/RGB/getRgbMtrixPosition.js b/keyboards/yandrstudio/utils/RGB/getRgbMtrixPosition.js index 9254d2af3cca..a6e62a3174f1 100755 --- a/keyboards/yandrstudio/utils/RGB/getRgbMtrixPosition.js +++ b/keyboards/yandrstudio/utils/RGB/getRgbMtrixPosition.js @@ -1,3 +1,19 @@ +/* Copyright 2021 JasonRen(biu) + * + * 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 . + */ + cal = function gen_rgb_matrix_2(rownum, colnum) { function get_x(col, colnum){ var x = 224 / (colnum - 1) * col; @@ -24,4 +40,4 @@ cal = function gen_rgb_matrix_2(rownum, colnum) { gen_rgb_matrix_text += row_rgb_text } return gen_rgb_matrix_text - } \ No newline at end of file + } diff --git a/keyboards/yandrstudio/zv48/config.h b/keyboards/yandrstudio/zv48/config.h deleted file mode 100644 index 588c02a52de2..000000000000 --- a/keyboards/yandrstudio/zv48/config.h +++ /dev/null @@ -1,203 +0,0 @@ -/* Copyright 2020 zvecr - * - * 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 . - */ -#pragma once - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x5A56 -#define PRODUCT_ID 0x0048 -#define DEVICE_VER 0x0001 -#define MANUFACTURER zvecr -#define PRODUCT zv48 - -/* key matrix size */ -#define MATRIX_ROWS 8 // Rows are doubled-up -#define MATRIX_COLS 6 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_COL_PINS { B15, B10, B0, A5, A4, A3 } -#define MATRIX_ROW_PINS { A10, A15, B3, B4 } -// #define MATRIX_COL_PINS_RIGHT { B10, B15, A10, A15, B3, B4 } -// #define MATRIX_ROW_PINS_RIGHT { B0, A5, A4, A3 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -#define MATRIX_IO_DELAY 5 - -/* - * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. - */ -#define SPLIT_HAND_PIN B9 -#define SOFT_SERIAL_PIN B6 -//#define SELECT_SOFT_SERIAL_SPEED 0 -#define SERIAL_USART_SPEED 921600 - -#define ENCODERS_PAD_A { B5 } -#define ENCODERS_PAD_B { A2 } - -// #define RGB_DI_PIN A7 -// #define RGBLED_NUM 2 -// #define RGBLED_SPLIT {1, 1} -// #define RGBLIGHT_LIMIT_VAL 120 -// #define RGBLIGHT_ANIMATIONS - -/* RGN Matrix */ -#ifdef RGB_MATRIX_ENABLE - -# define RGB_DI_PIN A7 -# define RGBLED_NUM 2 -# define DRIVER_LED_TOTAL RGBLED_NUM - -# define WS2812_PWM_DRIVER PWMD3 -# define WS2812_PWM_CHANNEL 4 -# define WS2812_PWM_PAL_MODE 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -# define WS2812_DMA_CHANNEL 5 - -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 -# define RGBLIGHT_VAL_STEP 18 -# define RGB_DISABLE_WHEN_USB_SUSPENDED true -# define RGB_MATRIX_CENTER { 32, 96 } -# define RGB_MATRIX_KEYPRESSES -# define RGB_MATRIX_FRAMEBUFFER_EFFECTS - -#endif - - - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Magic Key Options - * - * Magic keys are hotkey commands that allow control over firmware functions of - * the keyboard. They are best used in combination with the HID Listen program, - * found here: https://www.pjrc.com/teensy/hid_listen.html - * - * The options below allow the magic key functionality to be changed. This is - * useful if your keyboard/keypad is missing keys and you want magic key support. - * - */ - -/* key combination for magic key command */ -/* defined by default; to change, uncomment and set to the combination you want */ -// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) - -/* control how magic key switches layers */ -//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true -//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true -//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false - -/* override magic key keymap */ -//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS -//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS -//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM -//#define MAGIC_KEY_HELP H -//#define MAGIC_KEY_HELP_ALT SLASH -//#define MAGIC_KEY_DEBUG D -//#define MAGIC_KEY_DEBUG_MATRIX X -//#define MAGIC_KEY_DEBUG_KBD K -//#define MAGIC_KEY_DEBUG_MOUSE M -//#define MAGIC_KEY_VERSION V -//#define MAGIC_KEY_STATUS S -//#define MAGIC_KEY_CONSOLE C -//#define MAGIC_KEY_LAYER0 0 -//#define MAGIC_KEY_LAYER0_ALT GRAVE -//#define MAGIC_KEY_LAYER1 1 -//#define MAGIC_KEY_LAYER2 2 -//#define MAGIC_KEY_LAYER3 3 -//#define MAGIC_KEY_LAYER4 4 -//#define MAGIC_KEY_LAYER5 5 -//#define MAGIC_KEY_LAYER6 6 -//#define MAGIC_KEY_LAYER7 7 -//#define MAGIC_KEY_LAYER8 8 -//#define MAGIC_KEY_LAYER9 9 -//#define MAGIC_KEY_BOOTLOADER B -//#define MAGIC_KEY_BOOTLOADER_ALT ESC -//#define MAGIC_KEY_LOCK CAPS -//#define MAGIC_KEY_EEPROM E -//#define MAGIC_KEY_EEPROM_CLEAR BSPACE -//#define MAGIC_KEY_NKRO N -//#define MAGIC_KEY_SLEEP_LED Z - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -/* disable these deprecated features by default */ -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION - -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 -#define BOOTMAGIC_LITE_ROW_RIGHT 4 -#define BOOTMAGIC_LITE_COLUMN_RIGHT 0 diff --git a/keyboards/yandrstudio/zv48/f401/mcuconf.h b/keyboards/yandrstudio/zv48/f401/mcuconf.h deleted file mode 100644 index 3c14f5e02751..000000000000 --- a/keyboards/yandrstudio/zv48/f401/mcuconf.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/zvecr/zv48/f401/mcuconf.h -r platforms/chibios/BLACKPILL_STM32_F401/configs/mcuconf.h` - */ - -#pragma once - -#include_next - -#undef STM32_PWM_USE_TIM3 -#define STM32_PWM_USE_TIM3 TRUE - -#undef STM32_SERIAL_USE_USART1 -#define STM32_SERIAL_USE_USART1 TRUE - diff --git a/keyboards/yandrstudio/zv48/f411/halconf.h b/keyboards/yandrstudio/zv48/f411/halconf.h deleted file mode 100644 index 3678cd52b510..000000000000 --- a/keyboards/yandrstudio/zv48/f411/halconf.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/zvecr/zv48/f411/halconf.h -r platforms/chibios/common/configs/halconf.h` - */ - -#pragma once - -#define HAL_USE_PWM TRUE - -#define HAL_USE_SERIAL TRUE - -#define SERIAL_USB_BUFFERS_SIZE 256 - -#include_next - diff --git a/keyboards/yandrstudio/zv48/f411/mcuconf.h b/keyboards/yandrstudio/zv48/f411/mcuconf.h deleted file mode 100644 index 572a8616cfb3..000000000000 --- a/keyboards/yandrstudio/zv48/f411/mcuconf.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/zvecr/zv48/f411/mcuconf.h -r platforms/chibios/BLACKPILL_STM32_F411/configs/mcuconf.h` - */ - -#pragma once - -#include_next - -#undef STM32_PWM_USE_TIM3 -#define STM32_PWM_USE_TIM3 TRUE - -#undef STM32_SERIAL_USE_USART1 -#define STM32_SERIAL_USE_USART1 TRUE - diff --git a/keyboards/yandrstudio/zv48/f411/rules.mk b/keyboards/yandrstudio/zv48/f411/rules.mk deleted file mode 100644 index 4f7f52e62bf9..000000000000 --- a/keyboards/yandrstudio/zv48/f411/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -# MCU name -MCU = STM32F411 - -# Address of the bootloader in system memory -STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 diff --git a/keyboards/yandrstudio/zv48/info.json b/keyboards/yandrstudio/zv48/info.json deleted file mode 100644 index b6a9c7693ce4..000000000000 --- a/keyboards/yandrstudio/zv48/info.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "keyboard_name": "zv48", - "url": "", - "maintainer": "zvecr", - "width": 12, - "height": 4, - "layouts": { - "LAYOUT_ortho_4x12": { - "key_count": 48, - "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}] - } - } -} diff --git a/keyboards/yandrstudio/zv48/keymaps/default/keymap.c b/keyboards/yandrstudio/zv48/keymaps/default/keymap.c deleted file mode 100644 index f9428c3292da..000000000000 --- a/keyboards/yandrstudio/zv48/keymaps/default/keymap.c +++ /dev/null @@ -1,91 +0,0 @@ -#include QMK_KEYBOARD_H - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _QWERTY, - _LOWER, - _RAISE, - _ADJUST, -}; - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | App |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - KC_LCTL, KC_LGUI, KC_LALT, KC_APP, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | |R Tog |R Mode|R Rev |R Grad| Reset| | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | |R HUI|R SAI|R VAI| | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | |R HUD|R SAD|R VAD| | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_4x12( - _______, RESET, _______, _______, _______, _______, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_M_G, RESET, _______, - _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, - _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) - -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} diff --git a/keyboards/yandrstudio/zv48/readme.md b/keyboards/yandrstudio/zv48/readme.md deleted file mode 100644 index 88db2533a6d0..000000000000 --- a/keyboards/yandrstudio/zv48/readme.md +++ /dev/null @@ -1,16 +0,0 @@ -# zv48 - -![zv48](https://i.imgur.com/ZJ9GfF6l.jpg) - -ARM Split ortho_4x12 mechanical keyboard. - -* Keyboard Maintainer: [zvecr](https://github.com/zvecr) -* Hardware Supported: f401/f411 blackpill -* Hardware Availability: [repo](https://github.com/zvecr/zv48) - -Make example for this keyboard (after setting up your build environment): - - make zvecr/zv48/f401:default - make zvecr/zv48/f411:default - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/yandrstudio/zv48/zv48.c b/keyboards/yandrstudio/zv48/zv48.c deleted file mode 100644 index 4d88817d0e62..000000000000 --- a/keyboards/yandrstudio/zv48/zv48.c +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright 2020 zvecr - * - * 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 . - */ -#include "zv48.h" - -void keyboard_pre_init_kb(void){ - // Workaround for reversible pcb/mcu - palSetLineMode(C13, PAL_MODE_INPUT_PULLUP); - palSetLineMode(C15, PAL_MODE_INPUT_PULLUP); - palSetLineMode(B7, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(A0, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(A1, PAL_MODE_OUTPUT_OPENDRAIN); - - keyboard_pre_init_user(); -} - - -#ifdef RGB_MATRIX_ENABLE -led_config_t g_led_config = { - { - { 0, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, 1, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED } \ - }, - { - // LED Index to Physical Position - {0, 0}, {16, 0} - - }, - { - // LED Index to Flag - 4, 4 - } -}; - -// void rgb_matrix_indicators_kb(void) { -// if (rgb_matrix_is_enabled()) { -// if (biton32(layer_state) == 1) { // UPPER_LAYER = BLUE -// rgb_matrix_set_color(57, 100, 0, 0); -// rgb_matrix_set_color(58, 0, 100, 0); -// rgb_matrix_set_color(60, 100, 0, 0); -// rgb_matrix_set_color(61, 100, 0, 0); -// } else if (biton32(layer_state) == 2) -// { -// rgb_matrix_set_color(57, 100, 0, 0); -// rgb_matrix_set_color(58, 100, 0, 0); -// rgb_matrix_set_color(60, 0, 100, 0); -// rgb_matrix_set_color(61, 100, 0, 0); -// } else if (biton32(layer_state) == 3) -// { -// rgb_matrix_set_color(57, 100, 0, 0); -// rgb_matrix_set_color(58, 100, 0, 0); -// rgb_matrix_set_color(60, 100, 0, 0); -// rgb_matrix_set_color(61, 0, 100, 0); -// } else if (biton32(layer_state) != 0) -// { -// rgb_matrix_set_color(57, 150, 0, 0); -// rgb_matrix_set_color(58, 150, 0, 0); -// rgb_matrix_set_color(60, 150, 0, 0); -// rgb_matrix_set_color(61, 150, 0, 0); -// } -// } -// } - -#endif - -#ifdef RGB_DISABLE_WHEN_USB_SUSPENDED -void suspend_power_down_kb(void) { - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) { - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} -#endif diff --git a/keyboards/yandrstudio/zv48/zv48.h b/keyboards/yandrstudio/zv48/zv48.h deleted file mode 100644 index 27504492ef3d..000000000000 --- a/keyboards/yandrstudio/zv48/zv48.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright 2020 zvecr - * - * 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 . - */ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_4x12( \ - L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ - L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ - L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ - L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ - ) \ - { \ - { L00, L01, L02, L03, L04, L05 }, \ - { L10, L11, L12, L13, L14, L15 }, \ - { L20, L21, L22, L23, L24, L25 }, \ - { L30, L31, L32, L33, L34, L35 }, \ - { R05, R04, R03, R02, R01, R00 }, \ - { R15, R14, R13, R12, R11, R10 }, \ - { R25, R24, R23, R22, R21, R20 }, \ - { R35, R34, R33, R32, R31, R30 } \ - }