summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dc/mc/001
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/dc/mc/001')
-rw-r--r--keyboards/handwired/dc/mc/001/001.c17
-rw-r--r--keyboards/handwired/dc/mc/001/001.h33
-rw-r--r--keyboards/handwired/dc/mc/001/config.h25
-rw-r--r--keyboards/handwired/dc/mc/001/info.json21
-rw-r--r--keyboards/handwired/dc/mc/001/rules.mk6
5 files changed, 16 insertions, 86 deletions
diff --git a/keyboards/handwired/dc/mc/001/001.c b/keyboards/handwired/dc/mc/001/001.c
deleted file mode 100644
index 4745469fd6..0000000000
--- a/keyboards/handwired/dc/mc/001/001.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 Daniel Cormier
- *
- * 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/>.
- */
-
-#include "001.h"
diff --git a/keyboards/handwired/dc/mc/001/001.h b/keyboards/handwired/dc/mc/001/001.h
deleted file mode 100644
index 317655162e..0000000000
--- a/keyboards/handwired/dc/mc/001/001.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright 2021 Daniel Cormier
- *
- * 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"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k02, k03, k04 \
-) { \
- { k00, k01, k02, k03, k04 } \
-}
diff --git a/keyboards/handwired/dc/mc/001/config.h b/keyboards/handwired/dc/mc/001/config.h
index b6d6f60dfc..7be4ba0aa9 100644
--- a/keyboards/handwired/dc/mc/001/config.h
+++ b/keyboards/handwired/dc/mc/001/config.h
@@ -17,20 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-
-/*
- BUTTON_MUTE = _BV(4),
- BUTTON_STOP = _BV(0),
- BUTTON_TRACK_PREVIOUS = _BV(1),
- BUTTON_TRACK_NEXT = _BV(2),
- BUTTON_PLAY_PAUSE = _BV(3),
-*/
-#define DIRECT_PINS \
- { \
- { B4, B0, B1, B2, B3 } \
- }
-
/*
RE_CHANNEL_A = _BV(6),
RE_CHANNEL_B = _BV(5),
@@ -41,11 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ B5 }
#define ENCODER_RESOLUTION 4
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-// All the keys just need 5ms of debounce, but the mute button on the rotary
-// encoderneeds much more (50ms).
-#define DEBOUNCE 50
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
@@ -62,10 +43,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define NO_ACTION_TAPPING
#define NO_ACTION_ONESHOT
-/* Bootmagic Lite key configuration */
-// The (default) Stop key
-// Doesn't work, though. Maybe becuase of the bootloader that's in use?
-#define BOOTMAGIC_LITE_ROW 0
-#define BOOTMAGIC_LITE_COLUMN 1
-
#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/handwired/dc/mc/001/info.json b/keyboards/handwired/dc/mc/001/info.json
index 9162b6e77e..78c75f3713 100644
--- a/keyboards/handwired/dc/mc/001/info.json
+++ b/keyboards/handwired/dc/mc/001/info.json
@@ -8,14 +8,25 @@
"pid": "0x4D43",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [0, 1]
+ },
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["B4", "B0", "B1", "B2", "B3"]
+ ]
+ },
+ "debounce": 50,
"layouts": {
"LAYOUT": {
"layout": [
- {"label": "Mute", "x": 0, "y": 0},
- {"label": "Stop", "x": 1, "y": 0},
- {"label": "Previous", "x": 2, "y": 0},
- {"label": "Next", "x": 3, "y": 0},
- {"label": "Play/Pause", "x": 4, "y": 0}
+ {"x": 0, "y": 0, "matrix": [0, 0]},
+ {"x": 1, "y": 0, "matrix": [0, 1]},
+ {"x": 2, "y": 0, "matrix": [0, 2]},
+ {"x": 3, "y": 0, "matrix": [0, 3]},
+ {"x": 4, "y": 0, "matrix": [0, 4]}
]
}
}
diff --git a/keyboards/handwired/dc/mc/001/rules.mk b/keyboards/handwired/dc/mc/001/rules.mk
index ce162edf45..c94a511d8b 100644
--- a/keyboards/handwired/dc/mc/001/rules.mk
+++ b/keyboards/handwired/dc/mc/001/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#