diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2023-03-11 01:38:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 10:38:56 -0700 |
commit | 7be63bb5243c6c95457001e429e928ed1203257a (patch) | |
tree | 3720c0a1c00e4e2f962648e309db73a94aef2727 /keyboards/macro3 | |
parent | 943d0ff6195018f5084f2cb149742bde68a45f54 (diff) |
Move macro3 to data-driven (#20046)
Diffstat (limited to 'keyboards/macro3')
-rw-r--r-- | keyboards/macro3/info.json | 12 | ||||
-rw-r--r-- | keyboards/macro3/post_config.h | 19 | ||||
-rw-r--r-- | keyboards/macro3/rules.mk | 14 |
3 files changed, 11 insertions, 34 deletions
diff --git a/keyboards/macro3/info.json b/keyboards/macro3/info.json index 780dfca303..fa6cd1c471 100644 --- a/keyboards/macro3/info.json +++ b/keyboards/macro3/info.json @@ -14,8 +14,16 @@ {"pin_a": "F7", "pin_b": "F6"} ] }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", + "development_board": "promicro", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "encoder": true + }, + "bootmagic": { + "matrix": [0, 3] + }, "matrix_pins": { "direct": [ ["D7", "C6", "D4", "D1"], diff --git a/keyboards/macro3/post_config.h b/keyboards/macro3/post_config.h deleted file mode 100644 index 4e2b6cf1b9..0000000000 --- a/keyboards/macro3/post_config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2020 David Philip Barr <@davidphilipbarr> - * Copyright 2021 @filterpaper - * SPDX-License-Identifier: GPL-2.0+ - */ - -#pragma once - -/* Top right key */ -#ifndef BOOTMAGIC_LITE_ROW -# define BOOTMAGIC_LITE_ROW 0 -#endif -#ifndef BOOTMAGIC_LITE_COLUMN -# define BOOTMAGIC_LITE_COLUMN 3 -#endif - -#ifndef ENCODER_RESOLUTION -# define ENCODER_RESOLUTION 2 -#endif - diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk index b03b6fa905..6e7633bfe0 100644 --- a/keyboards/macro3/rules.mk +++ b/keyboards/macro3/rules.mk @@ -1,13 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes +# This file intentionally left blank |