From 364c06d939134184838579d4e73880f8c2f83419 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 5 Apr 2023 15:46:59 +1000 Subject: Move small macropad-ish layouts to data driven (#20341) --- keyboards/maple_computing/6ball/6ball.h | 10 ---------- keyboards/maple_computing/6ball/info.json | 12 ++++++------ 2 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 keyboards/maple_computing/6ball/6ball.h (limited to 'keyboards/maple_computing/6ball') diff --git a/keyboards/maple_computing/6ball/6ball.h b/keyboards/maple_computing/6ball/6ball.h deleted file mode 100644 index ef73a72053..0000000000 --- a/keyboards/maple_computing/6ball/6ball.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k05, k00, k01, \ - k04, k03, k02 \ -) { \ - { k00, k01, k02, k03, k04, k05 } \ -} diff --git a/keyboards/maple_computing/6ball/info.json b/keyboards/maple_computing/6ball/info.json index 38f127cffc..bed6b1fdda 100644 --- a/keyboards/maple_computing/6ball/info.json +++ b/keyboards/maple_computing/6ball/info.json @@ -18,13 +18,13 @@ "layouts": { "LAYOUT": { "layout": [ - {"x":0, "y":0.5}, - {"x":1, "y":0}, - {"x":2, "y":0.5}, + {"matrix": [0, 5], "x": 0, "y": 0.5}, + {"matrix": [0, 0], "x": 1, "y": 0}, + {"matrix": [0, 1], "x": 2, "y": 0.5}, - {"x":0, "y":1.5}, - {"x":1, "y":2}, - {"x":2, "y":1.5} + {"matrix": [0, 4], "x": 0, "y": 1.5}, + {"matrix": [0, 3], "x": 1, "y": 2}, + {"matrix": [0, 2], "x": 2, "y": 1.5} ] } } -- cgit v1.2.3