summaryrefslogtreecommitdiff
path: root/keyboards/inett_studio/sqx/hotswap
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-02-03 21:19:07 +0000
committerQMK Bot <hello@qmk.fm>2021-02-03 21:19:07 +0000
commit53ccc1969f6de4ca2122ad2b95cd08ed1fd21aa3 (patch)
treee6bb21ebbff7deed76f14c9e0dbabd73c3a818cf /keyboards/inett_studio/sqx/hotswap
parentec652e291ef909aedc449d93c00c06a8a15ca9a0 (diff)
parentc5e29b25c45ea1f95ec2508f50507e6ad94d4e2a (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/inett_studio/sqx/hotswap')
-rw-r--r--keyboards/inett_studio/sqx/hotswap/hotswap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/inett_studio/sqx/hotswap/hotswap.c b/keyboards/inett_studio/sqx/hotswap/hotswap.c
index 773b0b0b0a..be8985c87e 100644
--- a/keyboards/inett_studio/sqx/hotswap/hotswap.c
+++ b/keyboards/inett_studio/sqx/hotswap/hotswap.c
@@ -137,7 +137,7 @@ led_config_t g_led_config = {
{128, 48},{160, 48},{176, 48},{192, 48},{160, 64},{180, 64},{200, 64},{224, 64}
},
{
- 4, 4, 4, 4, 4, 4, 4, 1,
+ 4, 4, 4, 4, 4, 4, 4, 4,
1, 1, 4, 1, 1, 1, 1,
1, 4, 4, 4, 4, 4, 4, 4,
@@ -152,6 +152,13 @@ led_config_t g_led_config = {
}
};
+__attribute__ ((weak))
+void rgb_matrix_indicators_user(void) {
+ if (host_keyboard_led_state().caps_lock) {
+ rgb_matrix_set_color(8, 0xFF, 0x0, 0x0);
+ }
+}
+
#endif //RGB_MATRIX_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {