summaryrefslogtreecommitdiff
path: root/keyboards/kb_elmo/twelvekey
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kb_elmo/twelvekey')
-rw-r--r--keyboards/kb_elmo/twelvekey/config.h13
-rw-r--r--keyboards/kb_elmo/twelvekey/info.json7
-rw-r--r--keyboards/kb_elmo/twelvekey/rules.mk6
3 files changed, 7 insertions, 19 deletions
diff --git a/keyboards/kb_elmo/twelvekey/config.h b/keyboards/kb_elmo/twelvekey/config.h
index 2ffc1e4589..19bd22c473 100644
--- a/keyboards/kb_elmo/twelvekey/config.h
+++ b/keyboards/kb_elmo/twelvekey/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 3
-#define MATRIX_COLS 4
/* Keyboard Matrix Assignments */
#define MATRIX_ROW_PINS { D1, C4, D7 }
@@ -29,11 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-/* Backlight */
-#define BACKLIGHT_PIN B1
-#define BACKLIGHT_LEVELS 8
-#define BACKLIGHT_ON_STATE 0
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
diff --git a/keyboards/kb_elmo/twelvekey/info.json b/keyboards/kb_elmo/twelvekey/info.json
index 27a67923d0..0dfc233ff5 100644
--- a/keyboards/kb_elmo/twelvekey/info.json
+++ b/keyboards/kb_elmo/twelvekey/info.json
@@ -8,6 +8,13 @@
"pid": "0x9879",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B1",
+ "levels": 8,
+ "on_state": 0
+ },
+ "processor": "atmega328p",
+ "bootloader": "usbasploader",
"layouts": {
"LAYOUT_ortho_3x4": {
"layout": [{"x":0, "y":0},
diff --git a/keyboards/kb_elmo/twelvekey/rules.mk b/keyboards/kb_elmo/twelvekey/rules.mk
index b5150a96c4..7d1ccce5cb 100644
--- a/keyboards/kb_elmo/twelvekey/rules.mk
+++ b/keyboards/kb_elmo/twelvekey/rules.mk
@@ -1,12 +1,6 @@
-# MCU name
-MCU = atmega328p
-
# Processor frequency
F_CPU = 16000000
-# Bootloader selection
-BOOTLOADER = usbasploader
-
# Build Options
# change yes to no to disable
#