summaryrefslogtreecommitdiff
path: root/keyboards/qpockets/eggman
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/qpockets/eggman')
-rw-r--r--keyboards/qpockets/eggman/config.h15
-rw-r--r--keyboards/qpockets/eggman/info.json8
-rw-r--r--keyboards/qpockets/eggman/rules.mk6
3 files changed, 8 insertions, 21 deletions
diff --git a/keyboards/qpockets/eggman/config.h b/keyboards/qpockets/eggman/config.h
index 0faaeae1f5..eac213400a 100644
--- a/keyboards/qpockets/eggman/config.h
+++ b/keyboards/qpockets/eggman/config.h
@@ -16,25 +16,10 @@
#pragma once
-#include "config_common.h"
-/* key matrix size */
-#define MATRIX_ROWS 7
-#define MATRIX_COLS 7
-
#define MATRIX_ROW_PINS { C4, C5, C2, D0, B5, B6, D6 }
#define MATRIX_COL_PINS { B7, B4, B3, B2, D3, D2, D1 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-/* ROTARY ENCODERS */
-#define ENCODERS_PAD_A { C6, D4 }
-#define ENCODERS_PAD_B { C7, D5 }
-
-#define ENCODER_RESOLUTION 4
-//#define ENCODER_DIRECTION_FLIP
-
-#define DEBOUNCE 5
-
diff --git a/keyboards/qpockets/eggman/info.json b/keyboards/qpockets/eggman/info.json
index f9cc6c77b9..989402411d 100644
--- a/keyboards/qpockets/eggman/info.json
+++ b/keyboards/qpockets/eggman/info.json
@@ -8,6 +8,14 @@
"pid": "0x656D",
"device_version": "10.0.0"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "C6", "pin_b": "C7"},
+ {"pin_a": "D4", "pin_b": "D5"}
+ ]
+ },
+ "processor": "atmega32u2",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_default": {
"layout": [
diff --git a/keyboards/qpockets/eggman/rules.mk b/keyboards/qpockets/eggman/rules.mk
index 7cb0dc381f..c473e6a78e 100644
--- a/keyboards/qpockets/eggman/rules.mk
+++ b/keyboards/qpockets/eggman/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u2
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#