From d606453eceb7559a7797a307c244eda8555cdb4c Mon Sep 17 00:00:00 2001 From: Ning Date: Thu, 2 Mar 2023 00:54:40 +0800 Subject: [PATCH 1/9] Add a new keyboard --- keyboards/ning/tiny_board/tb16_rgb/config.h | 36 +++++++++++++ keyboards/ning/tiny_board/tb16_rgb/info.json | 48 +++++++++++++++++ .../tb16_rgb/keymaps/default/keymap.c | 51 +++++++++++++++++++ .../tb16_rgb/keymaps/ningjx/keymap.c | 51 +++++++++++++++++++ keyboards/ning/tiny_board/tb16_rgb/readme.md | 27 ++++++++++ keyboards/ning/tiny_board/tb16_rgb/rules.mk | 6 +++ 6 files changed, 219 insertions(+) create mode 100644 keyboards/ning/tiny_board/tb16_rgb/config.h create mode 100644 keyboards/ning/tiny_board/tb16_rgb/info.json create mode 100644 keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c create mode 100644 keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c create mode 100644 keyboards/ning/tiny_board/tb16_rgb/readme.md create mode 100644 keyboards/ning/tiny_board/tb16_rgb/rules.mk diff --git a/keyboards/ning/tiny_board/tb16_rgb/config.h b/keyboards/ning/tiny_board/tb16_rgb/config.h new file mode 100644 index 000000000000..f3bd3758d4e2 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/config.h @@ -0,0 +1,36 @@ +/* Copyright 2023 Ning (@ningjx) + * + * 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 + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 4 + +#define TAPPING_TERM 200 + +#define RGB_DI_PIN B5 +#define RGB_MATRIX_LED_COUNT 16 + +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define ENABLE_RGB_MATRIX_TYPING_HEATMAP + +#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP +#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS + + + + diff --git a/keyboards/ning/tiny_board/tb16_rgb/info.json b/keyboards/ning/tiny_board/tb16_rgb/info.json new file mode 100644 index 000000000000..60a99ff8c92e --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/info.json @@ -0,0 +1,48 @@ +{ + "manufacturer": "Ning", + "keyboard_name": "TB16 RGB", + "maintainer": "ningjx", + "bootloader": "caterina", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["B6", "B1", "B3", "B2"], + "rows": ["F7", "F6", "F5", "F4"] + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0xFEED" + }, + "layouts": { + "LAYOUT_ortho_4x4": { + "layout": [ + { "matrix": [0, 0], "x": 0, "y": 0 }, + { "matrix": [0, 1], "x": 1, "y": 0 }, + { "matrix": [0, 2], "x": 2, "y": 0 }, + { "matrix": [0, 3], "x": 3, "y": 0 }, + { "matrix": [1, 0], "x": 0, "y": 1 }, + { "matrix": [1, 1], "x": 1, "y": 1 }, + { "matrix": [1, 2], "x": 2, "y": 1 }, + { "matrix": [1, 3], "x": 3, "y": 1 }, + { "matrix": [2, 0], "x": 0, "y": 2 }, + { "matrix": [2, 1], "x": 1, "y": 2 }, + { "matrix": [2, 2], "x": 2, "y": 2 }, + { "matrix": [2, 3], "x": 3, "y": 2 }, + { "matrix": [3, 0], "x": 0, "y": 3 }, + { "matrix": [3, 1], "x": 1, "y": 3 }, + { "matrix": [3, 2], "x": 2, "y": 3 }, + { "matrix": [3, 3], "x": 3, "y": 3 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c b/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c new file mode 100644 index 000000000000..3683112e2089 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c @@ -0,0 +1,51 @@ +/* Copyright 2023 Ning (@ningjx) + * + * 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] = { + /* + * ┌───┬───┬───┬───┐ + * │ 7 │ 8 │ 9 │RGB│ + * ├───┼───┼───┼───┤ + * │ 4 │ 5 │ 6 │MOD│ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ - │ + * ├───┼───┼───┼───┤ + * │ 0 │ . │Ent│ + │ + * └───┴───┴───┴───┘ + */ + [0] = LAYOUT_ortho_4x4( + KC_P7, KC_P8, KC_P9, RGB_TOG, + KC_P4, KC_P5, KC_P6, RGB_MODE_FORWARD, + KC_P1, KC_P2, KC_P3, KC_PMNS, + KC_P0, KC_PDOT, KC_PENT, KC_PPLS + ) +}; + +led_config_t g_led_config = { { + { 0, 1, 2, 3 }, + { 4, 5, 6, 7 }, + { 8, 9, 10, 11 }, + { 12, 13, 14, 15 } +}, { + {0,0},{75,0},{150,0},{224,0}, + {0,21},{75,21},{150,21},{224,21}, + {0,42},{75,42},{150,42},{224,42}, + {0,64},{75,64},{150,64},{224,64} +}, { + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 +} }; \ No newline at end of file diff --git a/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c b/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c new file mode 100644 index 000000000000..3683112e2089 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c @@ -0,0 +1,51 @@ +/* Copyright 2023 Ning (@ningjx) + * + * 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] = { + /* + * ┌───┬───┬───┬───┐ + * │ 7 │ 8 │ 9 │RGB│ + * ├───┼───┼───┼───┤ + * │ 4 │ 5 │ 6 │MOD│ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ - │ + * ├───┼───┼───┼───┤ + * │ 0 │ . │Ent│ + │ + * └───┴───┴───┴───┘ + */ + [0] = LAYOUT_ortho_4x4( + KC_P7, KC_P8, KC_P9, RGB_TOG, + KC_P4, KC_P5, KC_P6, RGB_MODE_FORWARD, + KC_P1, KC_P2, KC_P3, KC_PMNS, + KC_P0, KC_PDOT, KC_PENT, KC_PPLS + ) +}; + +led_config_t g_led_config = { { + { 0, 1, 2, 3 }, + { 4, 5, 6, 7 }, + { 8, 9, 10, 11 }, + { 12, 13, 14, 15 } +}, { + {0,0},{75,0},{150,0},{224,0}, + {0,21},{75,21},{150,21},{224,21}, + {0,42},{75,42},{150,42},{224,42}, + {0,64},{75,64},{150,64},{224,64} +}, { + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 +} }; \ No newline at end of file diff --git a/keyboards/ning/tiny_board/tb16_rgb/readme.md b/keyboards/ning/tiny_board/tb16_rgb/readme.md new file mode 100644 index 000000000000..0d8b8f4cb679 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/readme.md @@ -0,0 +1,27 @@ +# ning/tiny_board/tb16_rgb + +![ning/tiny_board/tb16_rgb](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Ning](https://github.com/ningjx) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make ning/tiny_board/tb16_rgb:default + +Flashing example for this keyboard: + + make ning/tiny_board/tb16_rgb:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/ning/tiny_board/tb16_rgb/rules.mk b/keyboards/ning/tiny_board/tb16_rgb/rules.mk new file mode 100644 index 000000000000..b5fd7712fcb1 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/rules.mk @@ -0,0 +1,6 @@ +# This file intentionally left blank +MCU = atmega32u4 +BOOTLOADER = caterina +RGB_MATRIX_ENABLE = yes +RGB_MATRIX_DRIVER = WS2812 +WS2812_DRIVER = bitbang \ No newline at end of file From 1b77f568554452334356d0b4268bbefb38479569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=81?= Date: Fri, 17 Mar 2023 15:38:35 +0800 Subject: [PATCH 2/9] fix format issues --- keyboards/ning/tiny_board/tb16_rgb/config.h | 16 +++++++++++++--- keyboards/ning/tiny_board/tb16_rgb/info.json | 7 ++++--- .../tiny_board/tb16_rgb/keymaps/default/keymap.c | 14 -------------- .../tiny_board/tb16_rgb/keymaps/ningjx/keymap.c | 14 -------------- keyboards/ning/tiny_board/tb16_rgb/readme.md | 6 +++--- keyboards/ning/tiny_board/tb16_rgb/rules.mk | 5 +---- 6 files changed, 21 insertions(+), 41 deletions(-) diff --git a/keyboards/ning/tiny_board/tb16_rgb/config.h b/keyboards/ning/tiny_board/tb16_rgb/config.h index f3bd3758d4e2..ee07df645af0 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/config.h +++ b/keyboards/ning/tiny_board/tb16_rgb/config.h @@ -31,6 +31,16 @@ #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS - - - +led_config_t g_led_config = { { + { 0, 1, 2, 3 }, + { 4, 5, 6, 7 }, + { 8, 9, 10, 11 }, + { 12, 13, 14, 15 } +}, { + {0,0},{75,0},{150,0},{224,0}, + {0,21},{75,21},{150,21},{224,21}, + {0,42},{75,42},{150,42},{224,42}, + {0,64},{75,64},{150,64},{224,64} +}, { + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 +} }; diff --git a/keyboards/ning/tiny_board/tb16_rgb/info.json b/keyboards/ning/tiny_board/tb16_rgb/info.json index 60a99ff8c92e..576b71876099 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/info.json +++ b/keyboards/ning/tiny_board/tb16_rgb/info.json @@ -2,7 +2,6 @@ "manufacturer": "Ning", "keyboard_name": "TB16 RGB", "maintainer": "ningjx", - "bootloader": "caterina", "diode_direction": "COL2ROW", "features": { "bootmagic": true, @@ -10,13 +9,15 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true + "nkro": true, + "rgb_matrix": true }, "matrix_pins": { "cols": ["B6", "B1", "B3", "B2"], "rows": ["F7", "F6", "F5", "F4"] }, "processor": "atmega32u4", + "bootloader": "caterina", "url": "", "usb": { "device_version": "1.0.0", @@ -45,4 +46,4 @@ ] } } -} \ No newline at end of file +} diff --git a/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c b/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c index 3683112e2089..e9529fe91e15 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c +++ b/keyboards/ning/tiny_board/tb16_rgb/keymaps/default/keymap.c @@ -35,17 +35,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_P0, KC_PDOT, KC_PENT, KC_PPLS ) }; - -led_config_t g_led_config = { { - { 0, 1, 2, 3 }, - { 4, 5, 6, 7 }, - { 8, 9, 10, 11 }, - { 12, 13, 14, 15 } -}, { - {0,0},{75,0},{150,0},{224,0}, - {0,21},{75,21},{150,21},{224,21}, - {0,42},{75,42},{150,42},{224,42}, - {0,64},{75,64},{150,64},{224,64} -}, { - 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 -} }; \ No newline at end of file diff --git a/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c b/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c index 3683112e2089..e9529fe91e15 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c +++ b/keyboards/ning/tiny_board/tb16_rgb/keymaps/ningjx/keymap.c @@ -35,17 +35,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_P0, KC_PDOT, KC_PENT, KC_PPLS ) }; - -led_config_t g_led_config = { { - { 0, 1, 2, 3 }, - { 4, 5, 6, 7 }, - { 8, 9, 10, 11 }, - { 12, 13, 14, 15 } -}, { - {0,0},{75,0},{150,0},{224,0}, - {0,21},{75,21},{150,21},{224,21}, - {0,42},{75,42},{150,42},{224,42}, - {0,64},{75,64},{150,64},{224,64} -}, { - 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 -} }; \ No newline at end of file diff --git a/keyboards/ning/tiny_board/tb16_rgb/readme.md b/keyboards/ning/tiny_board/tb16_rgb/readme.md index 0d8b8f4cb679..0aa361c90dfc 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/readme.md +++ b/keyboards/ning/tiny_board/tb16_rgb/readme.md @@ -2,11 +2,11 @@ ![ning/tiny_board/tb16_rgb](imgur.com image replace me!) -*A short description of the keyboard/project* +A 4*4 tiny keyboard whith rgb lights. * Keyboard Maintainer: [Ning](https://github.com/ningjx) -* Hardware Supported: *The PCBs, controllers supported* -* Hardware Availability: *Links to where you can find this hardware* +* Hardware Supported: The PCB is designed by [Ning](https://github.com/ningjx),with ATMega32U4. +* Hardware Availability: https://oshwhub.com/iqirtryi/atmega32a-kb40 Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/ning/tiny_board/tb16_rgb/rules.mk b/keyboards/ning/tiny_board/tb16_rgb/rules.mk index b5fd7712fcb1..81ab7f7607a9 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/rules.mk +++ b/keyboards/ning/tiny_board/tb16_rgb/rules.mk @@ -1,6 +1,3 @@ # This file intentionally left blank -MCU = atmega32u4 -BOOTLOADER = caterina -RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = WS2812 -WS2812_DRIVER = bitbang \ No newline at end of file +WS2812_DRIVER = bitbang From a4c97f22cb4945be593ba2073ef6d3f519692b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=81?= Date: Fri, 17 Mar 2023 15:43:17 +0800 Subject: [PATCH 3/9] delete absolved code in config.h --- keyboards/ning/tiny_board/tb16_rgb/config.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/keyboards/ning/tiny_board/tb16_rgb/config.h b/keyboards/ning/tiny_board/tb16_rgb/config.h index ee07df645af0..96d4be50537e 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/config.h +++ b/keyboards/ning/tiny_board/tb16_rgb/config.h @@ -16,12 +16,6 @@ #pragma once -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 4 - -#define TAPPING_TERM 200 - #define RGB_DI_PIN B5 #define RGB_MATRIX_LED_COUNT 16 From 86262571ee7d952d99df1da78c9649ff85af7f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=81?= Date: Fri, 17 Mar 2023 15:50:07 +0800 Subject: [PATCH 4/9] add rgb definition --- keyboards/ning/tiny_board/tb16_rgb/config.h | 14 +--------- keyboards/ning/tiny_board/tb16_rgb/rgb.c | 31 +++++++++++++++++++++ keyboards/ning/tiny_board/tb16_rgb/rgb.h | 19 +++++++++++++ 3 files changed, 51 insertions(+), 13 deletions(-) create mode 100644 keyboards/ning/tiny_board/tb16_rgb/rgb.c create mode 100644 keyboards/ning/tiny_board/tb16_rgb/rgb.h diff --git a/keyboards/ning/tiny_board/tb16_rgb/config.h b/keyboards/ning/tiny_board/tb16_rgb/config.h index 96d4be50537e..d6e6c6a1542d 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/config.h +++ b/keyboards/ning/tiny_board/tb16_rgb/config.h @@ -25,16 +25,4 @@ #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS -led_config_t g_led_config = { { - { 0, 1, 2, 3 }, - { 4, 5, 6, 7 }, - { 8, 9, 10, 11 }, - { 12, 13, 14, 15 } -}, { - {0,0},{75,0},{150,0},{224,0}, - {0,21},{75,21},{150,21},{224,21}, - {0,42},{75,42},{150,42},{224,42}, - {0,64},{75,64},{150,64},{224,64} -}, { - 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 -} }; + diff --git a/keyboards/ning/tiny_board/tb16_rgb/rgb.c b/keyboards/ning/tiny_board/tb16_rgb/rgb.c new file mode 100644 index 000000000000..e7807be5e886 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/rgb.c @@ -0,0 +1,31 @@ +/* Copyright 2023 Ning (@ningjx) + * + * 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 "quantum.h" + +led_config_t g_led_config = { { + { 0, 1, 2, 3 }, + { 4, 5, 6, 7 }, + { 8, 9, 10, 11 }, + { 12, 13, 14, 15 } +}, { + {0,0},{75,0},{150,0},{224,0}, + {0,21},{75,21},{150,21},{224,21}, + {0,42},{75,42},{150,42},{224,42}, + {0,64},{75,64},{150,64},{224,64} +}, { + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 +} }; diff --git a/keyboards/ning/tiny_board/tb16_rgb/rgb.h b/keyboards/ning/tiny_board/tb16_rgb/rgb.h new file mode 100644 index 000000000000..c15df73912c5 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/rgb.h @@ -0,0 +1,19 @@ +/* Copyright 2023 Ning (@ningjx) + * + * 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" From 11a151e7b602dce6762f8a38e898353c2f80ede3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=81?= Date: Fri, 17 Mar 2023 17:03:01 +0800 Subject: [PATCH 5/9] rename file --- keyboards/ning/tiny_board/tb16_rgb/{rgb.c => tb16_rgb.c} | 0 keyboards/ning/tiny_board/tb16_rgb/{rgb.h => tb16_rgb.h} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename keyboards/ning/tiny_board/tb16_rgb/{rgb.c => tb16_rgb.c} (100%) rename keyboards/ning/tiny_board/tb16_rgb/{rgb.h => tb16_rgb.h} (100%) diff --git a/keyboards/ning/tiny_board/tb16_rgb/rgb.c b/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c similarity index 100% rename from keyboards/ning/tiny_board/tb16_rgb/rgb.c rename to keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c diff --git a/keyboards/ning/tiny_board/tb16_rgb/rgb.h b/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h similarity index 100% rename from keyboards/ning/tiny_board/tb16_rgb/rgb.h rename to keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h From 18530721116b64fd1ff8cff39a5f806ca5a5265a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=81?= Date: Fri, 17 Mar 2023 19:16:34 +0800 Subject: [PATCH 6/9] delete file keyboards\ning\tiny_board\tb16_rgb\tb16_rgb.h --- keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h diff --git a/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h b/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h deleted file mode 100644 index c15df73912c5..000000000000 --- a/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2023 Ning (@ningjx) - * - * 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" From 4600e6aba0c8e914a314d848b1769af477d1f08b Mon Sep 17 00:00:00 2001 From: Ning Date: Sat, 18 Mar 2023 12:36:12 +0800 Subject: [PATCH 7/9] Update keyboards/ning/tiny_board/tb16_rgb/rules.mk Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/ning/tiny_board/tb16_rgb/rules.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/ning/tiny_board/tb16_rgb/rules.mk b/keyboards/ning/tiny_board/tb16_rgb/rules.mk index 81ab7f7607a9..32afd2163565 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/rules.mk +++ b/keyboards/ning/tiny_board/tb16_rgb/rules.mk @@ -1,3 +1 @@ -# This file intentionally left blank RGB_MATRIX_DRIVER = WS2812 -WS2812_DRIVER = bitbang From 56c4f94a7ac468ff3aa0e86aea9509cf3fb51631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=81?= Date: Sat, 18 Mar 2023 12:41:01 +0800 Subject: [PATCH 8/9] fix readme issue --- keyboards/ning/tiny_board/tb16_rgb/readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/keyboards/ning/tiny_board/tb16_rgb/readme.md b/keyboards/ning/tiny_board/tb16_rgb/readme.md index 0aa361c90dfc..e755555e7b7a 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/readme.md +++ b/keyboards/ning/tiny_board/tb16_rgb/readme.md @@ -1,6 +1,5 @@ # ning/tiny_board/tb16_rgb -![ning/tiny_board/tb16_rgb](imgur.com image replace me!) A 4*4 tiny keyboard whith rgb lights. @@ -20,8 +19,8 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader: * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available + From 56323962d1d9529a913fcc09c9cb6552ae140f62 Mon Sep 17 00:00:00 2001 From: Ning Date: Tue, 21 Mar 2023 15:11:02 +0800 Subject: [PATCH 9/9] Update keyboards/ning/tiny_board/tb16_rgb/info.json Co-authored-by: Drashna Jaelre --- keyboards/ning/tiny_board/tb16_rgb/info.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keyboards/ning/tiny_board/tb16_rgb/info.json b/keyboards/ning/tiny_board/tb16_rgb/info.json index 576b71876099..5c19f2fe6bb0 100644 --- a/keyboards/ning/tiny_board/tb16_rgb/info.json +++ b/keyboards/ning/tiny_board/tb16_rgb/info.json @@ -16,8 +16,7 @@ "cols": ["B6", "B1", "B3", "B2"], "rows": ["F7", "F6", "F5", "F4"] }, - "processor": "atmega32u4", - "bootloader": "caterina", + "development_board": "promicro", "url": "", "usb": { "device_version": "1.0.0",