summaryrefslogtreecommitdiff
path: root/keyboards/aidansmithdotdev
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aidansmithdotdev')
-rw-r--r--keyboards/aidansmithdotdev/fine40/config.h6
-rw-r--r--keyboards/aidansmithdotdev/fine40/fine40.c2
-rw-r--r--keyboards/aidansmithdotdev/fine40/fine40.h3
-rw-r--r--keyboards/aidansmithdotdev/fine40/info.json5
4 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/aidansmithdotdev/fine40/config.h b/keyboards/aidansmithdotdev/fine40/config.h
index 43ac1e5dda..a39d7fef7d 100644
--- a/keyboards/aidansmithdotdev/fine40/config.h
+++ b/keyboards/aidansmithdotdev/fine40/config.h
@@ -3,10 +3,4 @@
#pragma once
-#include "config_common.h"
-
-#define ENCODER_RESOLUTION 2
-#define ENCODERS_PAD_A { D5 }
-#define ENCODERS_PAD_B { B7 }
-
#define OLED_DISPLAY_128X64 //Comment this out to change the screen size
diff --git a/keyboards/aidansmithdotdev/fine40/fine40.c b/keyboards/aidansmithdotdev/fine40/fine40.c
index cc4024136e..73c453b6c0 100644
--- a/keyboards/aidansmithdotdev/fine40/fine40.c
+++ b/keyboards/aidansmithdotdev/fine40/fine40.c
@@ -1,6 +1,6 @@
// Copyright 2022 Aidan Smith (@Aidan-OS)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "fine40.h"
+#include "quantum.h"
enum keyboard_layers {
_MAIN,
diff --git a/keyboards/aidansmithdotdev/fine40/fine40.h b/keyboards/aidansmithdotdev/fine40/fine40.h
deleted file mode 100644
index dd675cf3ad..0000000000
--- a/keyboards/aidansmithdotdev/fine40/fine40.h
+++ /dev/null
@@ -1,3 +0,0 @@
-// Copyright 2022 Aidan Smith (@Aidan-OS)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include "quantum.h" \ No newline at end of file
diff --git a/keyboards/aidansmithdotdev/fine40/info.json b/keyboards/aidansmithdotdev/fine40/info.json
index c2e1afd84c..c41557a920 100644
--- a/keyboards/aidansmithdotdev/fine40/info.json
+++ b/keyboards/aidansmithdotdev/fine40/info.json
@@ -25,6 +25,11 @@
"pid": "0x4564",
"vid": "0xA059"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "D5", "pin_b": "B7", "resolution": 2}
+ ]
+ },
"layouts": {
"LAYOUT_2u_single_space": {
"layout": [