diff options
author | Zykrah <23428162+zykrah@users.noreply.github.com> | 2022-12-15 07:48:45 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 12:48:45 -0800 |
commit | 35f460643aa836d5340ab7ae9585d75e26d42f8a (patch) | |
tree | f7d466f6b5ae3bbc8d1db84bd630ae8cd05a0c33 /keyboards/idyllic/tinny50_rgb/tinny50_rgb.c | |
parent | 53733760201f2ac42b262c119c1244fd4bc64185 (diff) |
[Keyboard] Tinny50 RGB Edition (#19285)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/idyllic/tinny50_rgb/tinny50_rgb.c')
-rw-r--r-- | keyboards/idyllic/tinny50_rgb/tinny50_rgb.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/idyllic/tinny50_rgb/tinny50_rgb.c b/keyboards/idyllic/tinny50_rgb/tinny50_rgb.c new file mode 100644 index 0000000000..d8b06b8fb6 --- /dev/null +++ b/keyboards/idyllic/tinny50_rgb/tinny50_rgb.c @@ -0,0 +1,45 @@ +/* +Copyright 2022 Zykrah + +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" + +#ifdef RGB_MATRIX_ENABLE +led_config_t g_led_config = { + { + // Key Matrix to LED Index + {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 + {150, 64}, {130, 64}, {110, 64}, { 90, 64}, { 70, 64}, { 50, 64}, { 30, 64}, + { 0, 52}, { 0, 39}, { 0, 26}, { 0, 13}, + { 30, 0}, { 50, 0}, { 70, 0}, { 90, 0}, {110, 0}, {130, 0}, {150, 0}, {170, 0}, {190, 0}, {210, 0}, {230, 0}, + {255, 13}, {255, 26}, {255, 39}, {255, 52}, + {230, 64}, {210, 64}, {190, 64}, {170, 64} + }, { + // LED Index to Flag + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // UNDERGLOW + 2, 2, 2, 2, // UNDERGLOW + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // UNDERGLOW + 2, 2, 2, 2, // UNDERGLOW + } +}; +#endif + |