summaryrefslogtreecommitdiff
path: root/keyboards/s_ol
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/s_ol')
-rw-r--r--keyboards/s_ol/0xc_pad/0xc_pad.h12
-rw-r--r--keyboards/s_ol/0xc_pad/info.json27
2 files changed, 15 insertions, 24 deletions
diff --git a/keyboards/s_ol/0xc_pad/0xc_pad.h b/keyboards/s_ol/0xc_pad/0xc_pad.h
index 52c9c3adfd..013f4c89dc 100644
--- a/keyboards/s_ol/0xc_pad/0xc_pad.h
+++ b/keyboards/s_ol/0xc_pad/0xc_pad.h
@@ -17,18 +17,6 @@
#include "quantum.h"
-#define LAYOUT( \
- k01, k05, \
- k02, k06, k10, \
- k03, k07, k11, k15, \
- k08, k12, k16 \
-) { \
- { k01, k05, KC_NO, KC_NO }, \
- { k02, k06, k10, KC_NO }, \
- { k03, k07, k11, k15 }, \
- { KC_NO, k08, k12, k16 } \
-}
-
#define LED_LAYOUT( \
\
k01, k05, k02, k06, k10, k03, k07, k11, k15, k08, k12, k16) \
diff --git a/keyboards/s_ol/0xc_pad/info.json b/keyboards/s_ol/0xc_pad/info.json
index decf0ae1cb..f1c47c4623 100644
--- a/keyboards/s_ol/0xc_pad/info.json
+++ b/keyboards/s_ol/0xc_pad/info.json
@@ -9,18 +9,21 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":0.5, "y":1},
- {"x":1.5, "y":1},
- {"x":2.5, "y":1},
- {"x":0, "y":2},
- {"x":1, "y":2},
- {"x":2, "y":2},
- {"x":3, "y":2},
- {"x":0.5, "y":3},
- {"x":1.5, "y":3},
- {"x":2.5, "y":3}
+ {"matrix": [0, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+
+ {"matrix": [1, 0], "x": 0.5, "y": 1},
+ {"matrix": [1, 1], "x": 1.5, "y": 1},
+ {"matrix": [1, 2], "x": 2.5, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+
+ {"matrix": [3, 1], "x": 0.5, "y": 3},
+ {"matrix": [3, 2], "x": 1.5, "y": 3},
+ {"matrix": [3, 3], "x": 2.5, "y": 3}
]
}
},