Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup controllerworks/mini42 #18553

Merged
merged 2 commits into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 1 addition & 25 deletions keyboards/controllerworks/mini42/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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


1 change: 1 addition & 0 deletions keyboards/controllerworks/mini42/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
5 changes: 3 additions & 2 deletions keyboards/controllerworks/mini42/mini42.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "mini42.h"

#include "quantum.h"

#ifdef OLED_ENABLE

Expand Down Expand Up @@ -79,4 +80,4 @@ bool oled_task_kb(void) {
return false;
}

#endif
#endif
20 changes: 0 additions & 20 deletions keyboards/controllerworks/mini42/mini42.h

This file was deleted.