diff options
author | Ning <[email protected]> | 2023-03-22 02:20:25 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-21 11:20:25 -0700 |
commit | ac7524213236dd09a99da2d97004dec1c288596c (patch) | |
tree | b02c9e209df74377b969bde88919b78d274c4527 /keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c | |
parent | 650a0b8ad4425510fc76dc787e63f399d35036c2 (diff) | |
download | qmk_firmware-ac7524213236dd09a99da2d97004dec1c288596c.tar.gz qmk_firmware-ac7524213236dd09a99da2d97004dec1c288596c.zip |
[Keyboard] Add tiny board 16 rgb keyboard (#20158)
Co-authored-by: jack <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c')
-rw-r--r-- | keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c b/keyboards/ning/tiny_board/tb16_rgb/tb16_rgb.c new file mode 100644 index 0000000000..e7807be5e8 --- /dev/null +++ b/keyboards/ning/tiny_board/tb16_rgb/tb16_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 <http://www.gnu.org/licenses/>. + */ + +#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 +} }; |