summaryrefslogtreecommitdiff
path: root/keyboards/gmmk/numpad/numpad.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-20 20:50:52 +1000
committerGitHub <noreply@github.com>2023-09-20 11:50:52 +0100
commit4b26d9b62b299f15ce517e3fb7c9bfbe8eaf88b8 (patch)
treeb582e038327a6c672ab9e876e2686d26a9dc78d6 /keyboards/gmmk/numpad/numpad.c
parent3575e27eceb1a749e9655c046cc4a9dd040cc5ce (diff)
Update AW20216S LED type (#22072)
* Update AW20216S LED type * Remove mattgauf keymap
Diffstat (limited to 'keyboards/gmmk/numpad/numpad.c')
-rw-r--r--keyboards/gmmk/numpad/numpad.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/gmmk/numpad/numpad.c b/keyboards/gmmk/numpad/numpad.c
index 377dde810b..e3fe8e063d 100644
--- a/keyboards/gmmk/numpad/numpad.c
+++ b/keyboards/gmmk/numpad/numpad.c
@@ -19,16 +19,13 @@
#ifdef RGB_MATRIX_ENABLE
-const aw20216s_led g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
-/* Each AW20216S channel is controlled by a register at some offset between 0x00
- * and 0xD7 inclusive.
- * See drivers/led/aw20216s.h for the mapping between register offsets and
- * driver pin locations.
+const aw20216s_led_t g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
+/* Refer to AW20216S manual for these locations
* driver
* | R location
- * | | G location
- * | | | B location
- * | | | | */
+ * | | G location
+ * | | | B location
+ * | | | | */
{0, CS4_SW1, CS5_SW1, CS6_SW1 }, // 0 NUM
{0, CS4_SW2, CS5_SW2, CS6_SW2 }, // 1 /
{0, CS7_SW1, CS8_SW1, CS9_SW1 }, // 2 *