Fixup controllerworks/mini42 (#18553)

fix up stuff by waffle
master
jack 2022-09-30 15:26:40 -06:00 committed by GitHub
parent 394ded234f
commit d1903f4dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 47 deletions

View File

@ -17,16 +17,9 @@
#pragma once #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 WS2812_PIO_USE_PIO1
#define RGBLED_NUM 54 #define RGBLED_NUM 54
#define DRIVER_LED_TOTAL RGBLED_NUM #define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define RGB_MATRIX_SPLIT \
{ 27, 27 }
#define SPLIT_TRANSPORT_MIRROR #define SPLIT_TRANSPORT_MIRROR
#define SPLIT_LAYER_STATE_ENABLE #define SPLIT_LAYER_STATE_ENABLE
@ -50,20 +43,3 @@
/* Top right key on right half */ /* Top right key on right half */
#define BOOTMAGIC_LITE_ROW_RIGHT 0 #define BOOTMAGIC_LITE_ROW_RIGHT 0
#define BOOTMAGIC_LITE_COLUMN_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

View File

@ -56,6 +56,7 @@
}, },
"rgb_matrix": { "rgb_matrix": {
"driver": "WS2812", "driver": "WS2812",
"split_count": [27, 27],
"layout": [ "layout": [
{ "flags": 2, "x": 75, "y": 4 }, { "flags": 2, "x": 75, "y": 4 },
{ "flags": 2, "x": 40, "y": 2 }, { "flags": 2, "x": 40, "y": 2 },

View File

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

View File

@ -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"