aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/wt60_a
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2024-02-28 21:47:37 +1100
committerNick Brassel <[email protected]>2024-02-28 21:47:37 +1100
commit4e369d405af6bba1adce6337b2e1b1ea1788566c (patch)
treeb0f020feff1809e37c9e7795d344929ff0bb290a /keyboards/wilba_tech/wt60_a
parent4e04da397ef643f8fcf4afbe1d19f63aee1fc561 (diff)
parentdd1706e468bb18dd7f7ae143de735a5d3be1bfb8 (diff)
downloadqmk_firmware-0.24.0.tar.gz
qmk_firmware-0.24.0.zip
Merge branch 'develop'0.24.0
Diffstat (limited to 'keyboards/wilba_tech/wt60_a')
-rw-r--r--keyboards/wilba_tech/wt60_a/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt60_a/wt60_a.c120
2 files changed, 121 insertions, 1 deletions
diff --git a/keyboards/wilba_tech/wt60_a/rules.mk b/keyboards/wilba_tech/wt60_a/rules.mk
index 9ca8e8f973..f7482c7a2f 100644
--- a/keyboards/wilba_tech/wt60_a/rules.mk
+++ b/keyboards/wilba_tech/wt60_a/rules.mk
@@ -11,7 +11,7 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
# project specific files
-SRC = drivers/led/issi/is31fl3736-simple.c \
+SRC = drivers/led/issi/is31fl3736-mono.c \
quantum/color.c \
keyboards/wilba_tech/wt_mono_backlight.c \
keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt60_a/wt60_a.c b/keyboards/wilba_tech/wt60_a/wt60_a.c
new file mode 100644
index 0000000000..04657835c9
--- /dev/null
+++ b/keyboards/wilba_tech/wt60_a/wt60_a.c
@@ -0,0 +1,120 @@
+// Copyright 2024 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "quantum.h"
+
+#if defined(MONO_BACKLIGHT_WT60_A)
+# include "drivers/led/issi/is31fl3736-mono.h"
+#endif
+
+#if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT60_A)
+const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = {
+ {0, SW1_CS1},
+ {0, SW1_CS2},
+ {0, SW1_CS3},
+ {0, SW1_CS4},
+ {0, SW1_CS5},
+ {0, SW1_CS6},
+ {0, SW1_CS7},
+ {0, SW1_CS8},
+
+ {0, SW2_CS1},
+ {0, SW2_CS2},
+ {0, SW2_CS3},
+ {0, SW2_CS4},
+ {0, SW2_CS5},
+ {0, SW2_CS6},
+ {0, SW2_CS7},
+ {0, SW2_CS8},
+
+ {0, SW3_CS1},
+ {0, SW3_CS2},
+ {0, SW3_CS3},
+ {0, SW3_CS4},
+ {0, SW3_CS5},
+ {0, SW3_CS6},
+ {0, SW3_CS7},
+ {0, SW3_CS8},
+
+ {0, SW4_CS1},
+ {0, SW4_CS2},
+ {0, SW4_CS3},
+ {0, SW4_CS4},
+ {0, SW4_CS5},
+ {0, SW4_CS6},
+ {0, SW4_CS7},
+ {0, SW4_CS8},
+
+ {0, SW5_CS1},
+ {0, SW5_CS2},
+ {0, SW5_CS3},
+ {0, SW5_CS4},
+ {0, SW5_CS5},
+ {0, SW5_CS6},
+ {0, SW5_CS7},
+ {0, SW5_CS8},
+
+ {0, SW6_CS1},
+ {0, SW6_CS2},
+ {0, SW6_CS3},
+ {0, SW6_CS4},
+ {0, SW6_CS5},
+ {0, SW6_CS6},
+ {0, SW6_CS7},
+ {0, SW6_CS8},
+
+ {0, SW7_CS1},
+ {0, SW7_CS2},
+ {0, SW7_CS3},
+ {0, SW7_CS4},
+ {0, SW7_CS5},
+ {0, SW7_CS6},
+ {0, SW7_CS7},
+ {0, SW7_CS8},
+
+ {0, SW8_CS1},
+ {0, SW8_CS2},
+ {0, SW8_CS3},
+ {0, SW8_CS4},
+ {0, SW8_CS5},
+ {0, SW8_CS6},
+ {0, SW8_CS7},
+ {0, SW8_CS8},
+
+ {0, SW9_CS1},
+ {0, SW9_CS2},
+ {0, SW9_CS3},
+ {0, SW9_CS4},
+ {0, SW9_CS5},
+ {0, SW9_CS6},
+ {0, SW9_CS7},
+ {0, SW9_CS8},
+
+ {0, SW10_CS1},
+ {0, SW10_CS2},
+ {0, SW10_CS3},
+ {0, SW10_CS4},
+ {0, SW10_CS5},
+ {0, SW10_CS6},
+ {0, SW10_CS7},
+ {0, SW10_CS8},
+
+ {0, SW11_CS1},
+ {0, SW11_CS2},
+ {0, SW11_CS3},
+ {0, SW11_CS4},
+ {0, SW11_CS5},
+ {0, SW11_CS6},
+ {0, SW11_CS7},
+ {0, SW11_CS8},
+
+ {0, SW12_CS1},
+ {0, SW12_CS2},
+ {0, SW12_CS3},
+ {0, SW12_CS4},
+ {0, SW12_CS5},
+ {0, SW12_CS6},
+ {0, SW12_CS7},
+ {0, SW12_CS8}
+};
+#endif