summaryrefslogtreecommitdiff
path: root/keyboards/abstract
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/abstract')
-rw-r--r--keyboards/abstract/ellipse/rev1/config.h4
-rw-r--r--keyboards/abstract/ellipse/rev1/info.json13
2 files changed, 10 insertions, 7 deletions
diff --git a/keyboards/abstract/ellipse/rev1/config.h b/keyboards/abstract/ellipse/rev1/config.h
index 46e0cacce4..f7932863e9 100644
--- a/keyboards/abstract/ellipse/rev1/config.h
+++ b/keyboards/abstract/ellipse/rev1/config.h
@@ -64,7 +64,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
-
-#define ENCODERS_PAD_A { B2, B3, D5 }
-#define ENCODERS_PAD_B { B1, B7, B4 }
-#define ENCODER_RESOLUTION 2
diff --git a/keyboards/abstract/ellipse/rev1/info.json b/keyboards/abstract/ellipse/rev1/info.json
index fe1939d2b6..230e286c5d 100644
--- a/keyboards/abstract/ellipse/rev1/info.json
+++ b/keyboards/abstract/ellipse/rev1/info.json
@@ -1,13 +1,20 @@
{
- "keyboard_name": "Ellipse",
+ "keyboard_name": "Ellipse",
"manufacturer": "AbstractKB",
- "url": "https://abstractkb.tk/product/ellipse-rev1",
- "maintainer": "AbstractKB",
+ "url": "https://abstractkb.tk/product/ellipse-rev1",
+ "maintainer": "AbstractKB",
"usb": {
"vid": "0xFEED",
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "B2", "pin_b": "B1", "resolution": 2},
+ {"pin_a": "B3", "pin_b": "B7", "resolution": 2},
+ {"pin_a": "D5", "pin_b": "B4", "resolution": 2}
+ ]
+ },
"backlight": {
"pin": "C6",
"levels": 15