summary refs log tree commit diff stats
path: root/src/keymaps/soispha/led/translation.h
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-07-26 09:45:04 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-07-26 09:45:04 +0200
commite9fb5b31db9bdc4b3b593eae3897b7bc79710c80 (patch)
tree2f65d1409108394bbcaca493af0f83d548fb1699 /src/keymaps/soispha/led/translation.h
parentchore(deploy): Another deploy (diff)
downloadqmk_layout-e9fb5b31db9bdc4b3b593eae3897b7bc79710c80.zip
refactor(rgb): Make the Rgb map readable and changeable
The previous one was an unchangeable array blob.
Diffstat (limited to 'src/keymaps/soispha/led/translation.h')
-rw-r--r--src/keymaps/soispha/led/translation.h10
1 files changed, 10 insertions, 0 deletions
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