From e9fb5b31db9bdc4b3b593eae3897b7bc79710c80 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 26 Jul 2025 09:45:04 +0200 Subject: refactor(rgb): Make the Rgb map readable and changeable The previous one was an unchangeable array blob. --- src/keymaps/soispha/led/translation.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/keymaps/soispha/led/translation.h (limited to 'src/keymaps/soispha/led/translation.h') diff --git a/src/keymaps/soispha/led/translation.h b/src/keymaps/soispha/led/translation.h new file mode 100644 index 0000000..0140b79 --- /dev/null +++ b/src/keymaps/soispha/led/translation.h @@ -0,0 +1,10 @@ +// clang-format off +const uint8_t translation[RGB_MATRIX_LED_COUNT] = { + 0, 5, 10, 15, 20, 25, 29, 65, 61, 56, 51, 46, 41, 36, + 1, 6, 11, 16, 21, 26, 30, 66, 62, 57, 52, 47, 42, 37, + 2, 7, 12, 17, 22, 27, 31, 67, 63, 58, 53, 48, 43, 38, + 3, 8, 13, 18, 23, 28, 64, 59, 54, 49, 44, 39, + 4, 9, 14, 19, 24, 35, 71, 60, 55, 50, 45, 39, + 32, 33, 34, 70, 69, 68 +}; +// clang-format on -- cgit 1.4.1