diff options
Diffstat (limited to 'keyboards/evyd13/atom47/rev4')
-rw-r--r-- | keyboards/evyd13/atom47/rev4/config.h | 24 | ||||
-rw-r--r-- | keyboards/evyd13/atom47/rev4/info.json | 16 | ||||
-rw-r--r-- | keyboards/evyd13/atom47/rev4/rules.mk | 3 |
3 files changed, 16 insertions, 27 deletions
diff --git a/keyboards/evyd13/atom47/rev4/config.h b/keyboards/evyd13/atom47/rev4/config.h index 8d8b477e4a..52a4bf2ff9 100644 --- a/keyboards/evyd13/atom47/rev4/config.h +++ b/keyboards/evyd13/atom47/rev4/config.h @@ -17,35 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 13 // ROWS: Top to bottom, COLS: Left to right #define MATRIX_ROW_PINS {D0,C2,C5,C6} #define MATRIX_COL_PINS {C4,C7,B7,B6,B5,B2,B1,B0,D6,D5,D4,D3,D2} -#define ENCODERS_PAD_A { B3 } -#define ENCODERS_PAD_B { B4 } - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* Backlight configuration - */ - -#define QMK_ESC_OUTPUT C4 // usually COL -#define QMK_ESC_INPUT C6 // usually ROW -#define QMK_LED D1 - -#define LED_CAPS_LOCK_PIN D1 -#define LED_PIN_ON_STATE 0 diff --git a/keyboards/evyd13/atom47/rev4/info.json b/keyboards/evyd13/atom47/rev4/info.json index 8e117850cb..42b8abda54 100644 --- a/keyboards/evyd13/atom47/rev4/info.json +++ b/keyboards/evyd13/atom47/rev4/info.json @@ -8,6 +8,22 @@ "pid": "0x8446", "device_version": "0.0.1" }, + "encoder": { + "rotary": [ + {"pin_a": "B3", "pin_b": "B4"} + ] + }, + "qmk_lufa_bootloader": { + "esc_input": "C6", + "esc_output": "C4", + "led": "D1" + }, + "indicators": { + "caps_lock": "D1", + "on_state": 0 + }, + "processor": "atmega32u2", + "bootloader": "qmk-dfu", "layouts": { "LAYOUT_split_space": { "layout": [ diff --git a/keyboards/evyd13/atom47/rev4/rules.mk b/keyboards/evyd13/atom47/rev4/rules.mk index 3bce3b43af..1eb7c8bd08 100644 --- a/keyboards/evyd13/atom47/rev4/rules.mk +++ b/keyboards/evyd13/atom47/rev4/rules.mk @@ -1,6 +1,3 @@ -# MCU name -MCU = atmega32u2 - # Build Options ENCODER_ENABLE = yes BACKLIGHT_ENABLE = no |