summaryrefslogtreecommitdiffstats
path: root/keyboards/aplyard/aplx6/rev2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aplyard/aplx6/rev2')
-rw-r--r--keyboards/aplyard/aplx6/rev2/config.h10
-rw-r--r--keyboards/aplyard/aplx6/rev2/info.json9
-rw-r--r--keyboards/aplyard/aplx6/rev2/rules.mk6
3 files changed, 8 insertions, 17 deletions
diff --git a/keyboards/aplyard/aplx6/rev2/config.h b/keyboards/aplyard/aplx6/rev2/config.h
index 922ab5f44a..f2793935cb 100644
--- a/keyboards/aplyard/aplx6/rev2/config.h
+++ b/keyboards/aplyard/aplx6/rev2/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 2
-#define MATRIX_COLS 3
/* 9Key PCB default pin-out */
#define MATRIX_ROW_PINS { B4, B5 }
@@ -32,9 +27,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TERM 200
-/* Encoder */
-#define ENCODERS_PAD_A { F5 }
-#define ENCODERS_PAD_B { F4 }
-#define ENCODER_RESOLUTION 4
-
#define TAP_CODE_DELAY 50
diff --git a/keyboards/aplyard/aplx6/rev2/info.json b/keyboards/aplyard/aplx6/rev2/info.json
index 06fc50187a..114894a714 100644
--- a/keyboards/aplyard/aplx6/rev2/info.json
+++ b/keyboards/aplyard/aplx6/rev2/info.json
@@ -2,5 +2,12 @@
"usb": {
"pid": "0x0040",
"device_version": "0.0.2"
- }
+ },
+ "encoder": {
+ "rotary": [
+ {"pin_a": "F5", "pin_b": "F4"}
+ ]
+ },
+ "processor": "atmega32u4",
+ "bootloader": "caterina"
}
diff --git a/keyboards/aplyard/aplx6/rev2/rules.mk b/keyboards/aplyard/aplx6/rev2/rules.mk
index 22ada747ff..90decf0341 100644
--- a/keyboards/aplyard/aplx6/rev2/rules.mk
+++ b/keyboards/aplyard/aplx6/rev2/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#