X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fjj4x4%2Fjj4x4.c;h=6330c89de5c631c18f5c70b865c9c5fed3125177;hb=707d449ba0f69acbc0580e6f898fa2203ec992ba;hp=6fbff7afba6089b8eab074509a4b9fd169c4479c;hpb=c22f3ba3a2605280b81829a764c29c9e01ae674f;p=qmk_firmware.git diff --git a/keyboards/jj4x4/jj4x4.c b/keyboards/jj4x4/jj4x4.c index 6fbff7afb..6330c89de 100644 --- a/keyboards/jj4x4/jj4x4.c +++ b/keyboards/jj4x4/jj4x4.c @@ -17,81 +17,3 @@ along with this program. If not, see . */ #include "jj4x4.h" - -#include - -#include "action_layer.h" -#include "quantum.h" - -#include "i2c.h" - -#include "backlight.h" -#include "backlight_custom.h" - -// for keyboard subdirectory level init functions -// @Override -void matrix_init_kb(void) { - // call user level keymaps, if any - matrix_init_user(); -} - -#ifdef BACKLIGHT_ENABLE -/// Overrides functions in `quantum.c` -void backlight_init_ports(void) { - b_led_init_ports(); -} - -void backlight_task(void) { - b_led_task(); -} - -void backlight_set(uint8_t level) { - b_led_set(level); -} -#endif - -#ifdef RGBLIGHT_ENABLE -extern rgblight_config_t rgblight_config; - -// custom RGB driver -void rgblight_set(void) { - if (!rgblight_config.enable) { - for (uint8_t i=0; i