aboutsummaryrefslogtreecommitdiff
path: root/keyboards/inett_studio
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-07-11 13:47:53 +0100
committerGitHub <noreply@github.com>2024-07-11 13:47:53 +0100
commite0809eade5b054035a2bc0d00b1a8e9a02ba0d19 (patch)
treece7a855b44ebc8a668b692f4c354ef4b12cd273e /keyboards/inett_studio
parent23c470412381806c47e6b7f5e7368a1bf4387788 (diff)
Various fixes for keyboards not implementing callbacks correctly (#24092)
Diffstat (limited to 'keyboards/inett_studio')
-rw-r--r--keyboards/inett_studio/sqx/hotswap/hotswap.c4
-rw-r--r--keyboards/inett_studio/sqx/universal/universal.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/inett_studio/sqx/hotswap/hotswap.c b/keyboards/inett_studio/sqx/hotswap/hotswap.c
index 079889e727..c04d7ef02c 100644
--- a/keyboards/inett_studio/sqx/hotswap/hotswap.c
+++ b/keyboards/inett_studio/sqx/hotswap/hotswap.c
@@ -165,6 +165,10 @@ bool rgb_matrix_indicators_kb(void) {
#endif //RGB_MATRIX_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ if (!process_record_user(keycode, record)) {
+ return false;
+ }
+
if (record->event.pressed) {
switch(keycode) {
#if defined(RGB_MATRIX_DISABLE_KEYCODES)
diff --git a/keyboards/inett_studio/sqx/universal/universal.c b/keyboards/inett_studio/sqx/universal/universal.c
index 519df57505..6c2af3a3b9 100644
--- a/keyboards/inett_studio/sqx/universal/universal.c
+++ b/keyboards/inett_studio/sqx/universal/universal.c
@@ -169,6 +169,10 @@ bool rgb_matrix_indicators_kb(void) {
#endif //RGB_MATRIX_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ if (!process_record_user(keycode, record)) {
+ return false;
+ }
+
if (record->event.pressed) {
switch(keycode) {
#if defined(RGB_MATRIX_DISABLE_KEYCODES)