diff options
Diffstat (limited to 'keyboards/handwired/dc')
-rw-r--r-- | keyboards/handwired/dc/mc/001/config.h | 25 | ||||
-rw-r--r-- | keyboards/handwired/dc/mc/001/info.json | 11 | ||||
-rw-r--r-- | keyboards/handwired/dc/mc/001/rules.mk | 6 |
3 files changed, 11 insertions, 31 deletions
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..d14c92150b 100644 --- a/keyboards/handwired/dc/mc/001/info.json +++ b/keyboards/handwired/dc/mc/001/info.json @@ -8,6 +8,17 @@ "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": [ 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 # |