diff options
Diffstat (limited to 'keyboards/9key')
-rw-r--r-- | keyboards/9key/9key.h | 13 | ||||
-rw-r--r-- | keyboards/9key/info.json | 14 |
2 files changed, 13 insertions, 14 deletions
diff --git a/keyboards/9key/9key.h b/keyboards/9key/9key.h deleted file mode 100644 index ad809da4b8..0000000000 --- a/keyboards/9key/9key.h +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k00, k01, k02, \ - k10, k11, k12, \ - k20, k21, k22 \ -) { \ - { k00, k01, k02 }, \ - { k10, k11, k12 }, \ - { k20, k21, k22 } \ -} diff --git a/keyboards/9key/info.json b/keyboards/9key/info.json index e4109ef2aa..7d1538ee71 100644 --- a/keyboards/9key/info.json +++ b/keyboards/9key/info.json @@ -17,7 +17,19 @@ "bootloader": "caterina", "layouts": { "LAYOUT": { - "layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}] + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2} + ] } } } |