aboutsummaryrefslogtreecommitdiff
path: root/keyboards/inett_studio/sqx/hotswap/hotswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/inett_studio/sqx/hotswap/hotswap.c')
-rw-r--r--keyboards/inett_studio/sqx/hotswap/hotswap.c42
1 files changed, 1 insertions, 41 deletions
diff --git a/keyboards/inett_studio/sqx/hotswap/hotswap.c b/keyboards/inett_studio/sqx/hotswap/hotswap.c
index c04d7ef02c..dc12ec4f30 100644
--- a/keyboards/inett_studio/sqx/hotswap/hotswap.c
+++ b/keyboards/inett_studio/sqx/hotswap/hotswap.c
@@ -17,7 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "hotswap.h"
+#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
@@ -163,43 +163,3 @@ 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)
- case RGB_MATRIX_TOGGLE: // toggle rgb matrix
- rgb_matrix_toggle();
- return false;
- case RGB_MATRIX_STEP:
- rgb_matrix_step();
- return false;
- case RGB_MATRIX_INC_HUE:
- rgb_matrix_increase_hue();
- return false;
- case RGB_MATRIX_DEC_HUE:
- rgb_matrix_decrease_hue();
- return false;
- case RGB_MATRIX_INC_SAT:
- rgb_matrix_increase_sat();
- return false;
- case RGB_MATRIX_DEC_SAT:
- rgb_matrix_decrease_sat();
- return false;
- case RGB_MATRIX_INC_VAL:
- rgb_matrix_increase_val();
- return false;
- case RGB_MATRIX_DEC_VAL:
- rgb_matrix_decrease_val();
- return false;
-#endif
- default:
- break;
- }
- }
- return true;
-}