diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-05 15:46:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 15:46:59 +1000 |
commit | 364c06d939134184838579d4e73880f8c2f83419 (patch) | |
tree | b54be2d8a9a7ca5913774390bb0772e927d6523a /keyboards/rotr | |
parent | 06c5c028046adc0a5501f6ac51953640e2015020 (diff) |
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/rotr')
-rw-r--r-- | keyboards/rotr/info.json | 6 | ||||
-rw-r--r-- | keyboards/rotr/rotr.c | 1 | ||||
-rw-r--r-- | keyboards/rotr/rotr.h | 9 |
3 files changed, 5 insertions, 11 deletions
diff --git a/keyboards/rotr/info.json b/keyboards/rotr/info.json index f68be3ceee..ce744d32f1 100644 --- a/keyboards/rotr/info.json +++ b/keyboards/rotr/info.json @@ -22,7 +22,11 @@ "bootloader": "caterina", "layouts": { "LAYOUT": { - "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}] + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0} + ] } } } diff --git a/keyboards/rotr/rotr.c b/keyboards/rotr/rotr.c deleted file mode 100644 index 8df10909f6..0000000000 --- a/keyboards/rotr/rotr.c +++ /dev/null @@ -1 +0,0 @@ -#include "rotr.h" diff --git a/keyboards/rotr/rotr.h b/keyboards/rotr/rotr.h deleted file mode 100644 index bf2ff12929..0000000000 --- a/keyboards/rotr/rotr.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - K00, K01, K02 \ -) { \ - { K00, K01, K02 } \ -} |