summaryrefslogtreecommitdiff
path: root/keyboards/45_ats
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/45_ats')
-rw-r--r--keyboards/45_ats/config.h12
-rw-r--r--keyboards/45_ats/info.json7
-rw-r--r--keyboards/45_ats/rules.mk6
3 files changed, 7 insertions, 18 deletions
diff --git a/keyboards/45_ats/config.h b/keyboards/45_ats/config.h
index 762abd0fce..fcf2f8ea44 100644
--- a/keyboards/45_ats/config.h
+++ b/keyboards/45_ats/config.h
@@ -18,15 +18,6 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 14
-
-#define ENCODERS_PAD_A { B4 }
-#define ENCODERS_PAD_B { B5 }
-
/* key matrix pins */
#define MATRIX_ROW_PINS { D3, D5, D7, D6 }
#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, B7, F6, F5, F4, C7, F7, C6, B6, D4 }
@@ -34,9 +25,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/45_ats/info.json b/keyboards/45_ats/info.json
index 268af942fe..0bf42f9a75 100644
--- a/keyboards/45_ats/info.json
+++ b/keyboards/45_ats/info.json
@@ -8,6 +8,13 @@
"pid": "0x4511",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "B4", "pin_b": "B5"}
+ ]
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_split_space": {
"layout": [
diff --git a/keyboards/45_ats/rules.mk b/keyboards/45_ats/rules.mk
index 354f194ca2..309e55c9f4 100644
--- a/keyboards/45_ats/rules.mk
+++ b/keyboards/45_ats/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#