~ruther/qmk_firmware

d1903f4dd47c13ab7b3d338a43ee10233385c6d6 — jack 2 years ago 394ded2
Fixup controllerworks/mini42 (#18553)

fix up stuff by waffle
4 files changed, 5 insertions(+), 47 deletions(-)

M keyboards/controllerworks/mini42/config.h
M keyboards/controllerworks/mini42/info.json
M keyboards/controllerworks/mini42/mini42.c
D keyboards/controllerworks/mini42/mini42.h
M keyboards/controllerworks/mini42/config.h => keyboards/controllerworks/mini42/config.h +1 -25
@@ 17,16 17,9 @@

#pragma once

#include "config_common.h"

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
/* #define DEBOUNCE 5 */

#define WS2812_PIO_USE_PIO1
#define RGBLED_NUM 54
#define DRIVER_LED_TOTAL RGBLED_NUM
#define RGB_MATRIX_SPLIT \
        { 27, 27 }
#define RGB_MATRIX_LED_COUNT RGBLED_NUM

#define SPLIT_TRANSPORT_MIRROR
#define SPLIT_LAYER_STATE_ENABLE


@@ 50,20 43,3 @@
/* Top right key on right half */
#define BOOTMAGIC_LITE_ROW_RIGHT    0
#define BOOTMAGIC_LITE_COLUMN_RIGHT 0
/*
 * Feature disable options
 *  These options are also useful to firmware size reduction.
 */

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT



M keyboards/controllerworks/mini42/info.json => keyboards/controllerworks/mini42/info.json +1 -0
@@ 56,6 56,7 @@
    },
    "rgb_matrix": {
        "driver": "WS2812",
        "split_count": [27, 27],
        "layout": [
            { "flags": 2, "x": 75, "y": 4 },
            { "flags": 2, "x": 40, "y": 2 },

M keyboards/controllerworks/mini42/mini42.c => keyboards/controllerworks/mini42/mini42.c +3 -2
@@ 14,7 14,8 @@
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#include "mini42.h"

#include "quantum.h"

#ifdef OLED_ENABLE



@@ 79,4 80,4 @@ bool oled_task_kb(void) {
    return false;
}

#endif
\ No newline at end of file
#endif

D keyboards/controllerworks/mini42/mini42.h => keyboards/controllerworks/mini42/mini42.h +0 -20
@@ 1,20 0,0 @@
/*
 * Copyright 2022 Kevin Gee <info@controller.works>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#pragma once

#include "quantum.h"