diff options
author | QMK Bot <hello@qmk.fm> | 2022-08-13 19:48:14 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-08-13 19:48:14 +0000 |
commit | bcd021263e1e89c67190130498b582358a0d8c86 (patch) | |
tree | dbd105ff794343f0259a066f560a50bba1344e6c /keyboards/keebio/bamfk4/bamfk4.c | |
parent | 97b610e16692fee7c3cc391f4d50264e775f396a (diff) | |
parent | a49bdd2659186e6ea0c888e91229260d7c849a2d (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keebio/bamfk4/bamfk4.c')
-rw-r--r-- | keyboards/keebio/bamfk4/bamfk4.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/keebio/bamfk4/bamfk4.c b/keyboards/keebio/bamfk4/bamfk4.c new file mode 100644 index 0000000000..6a382bfaf6 --- /dev/null +++ b/keyboards/keebio/bamfk4/bamfk4.c @@ -0,0 +1,37 @@ +// Copyright 2022 Danny Nguyen (@nooges) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "bamfk4.h" + +#ifdef RGB_MATRIX_ENABLE +led_config_t g_led_config = { { + // Key Matrix to LED Index + { NO_LED, NO_LED, NO_LED, NO_LED }, +}, { + // LED Index to Physical Position + //through switch + { 26.6, 10 }, { 4.3, 10 }, { 3.8, 49.3 }, { 23.3, 49.3 }, + { 69.4, 49.3 }, { 68.9, 10 }, { 90.6, 10 }, { 89.5, 49.3 }, + { 134, 49.3 }, { 132.9, 10 }, { 155.7, 10 }, { 155.1, 49.3 }, + { 199.6, 49.3 }, { 199.6, 10 }, { 219.1, 10 }, { 219.1, 49.3 }, + + //underglow + { 218, 62.2 }, { 188.7, 62.2 }, { 159.5, 62.2 }, { 123.7, 62.2 }, //bottom right + { 100.3, 62.2 }, { 59.1, 62.2 }, { 35.3, 62.2 }, { 5.4, 62.2 }, //bottom left + { 6, 6.4 }, { 35.3, 6.4 }, { 59.1, 6.4 }, { 100.3, 6.4 }, //top left + { 123.7, 6.4 }, { 159.5, 6.4 }, { 188.7, 6.4 }, { 218, 6.4 } //top right +}, { + // LED Index to Flag + 4, 4, 4, 4, + 4, 4, 4, 4, + 4, 4, 4, 4, + 4, 4, 4, 4, + 2, 2, 2, 2, + 2, 2, 2, 2, + 2, 2, 2, 2, + 2, 2, 2, 2 +} }; + + + +#endif
\ No newline at end of file |