summaryrefslogtreecommitdiff
path: root/keyboards/dm9records/ergoinu
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dm9records/ergoinu')
-rw-r--r--keyboards/dm9records/ergoinu/ergoinu.h39
-rw-r--r--keyboards/dm9records/ergoinu/info.json128
2 files changed, 64 insertions, 103 deletions
diff --git a/keyboards/dm9records/ergoinu/ergoinu.h b/keyboards/dm9records/ergoinu/ergoinu.h
deleted file mode 100644
index c275d3fa27..0000000000
--- a/keyboards/dm9records/ergoinu/ergoinu.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2018 Takuya Urakawa<twitter:@hsgw>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
- L07, L08, L09, L10, L11, L12, L13, R07, R08, R09, R10, R11, R12, R13, \
- L14, L15, L16, L17, L18, L19, R14, R15, R16, R17, R18, R19, R20, \
- L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27,\
- L26, L27, L28, L29, L30, R28, R29, R30, R31, R32 \
- ) { \
- { L00, L01, L02, L03, L04, L05, L06 }, \
- { L07, L08, L09, L10, L11, L12, L13 }, \
- { L14, KC_NO, L15, L16, L17, L18, L19 }, \
- { L20, KC_NO, L21, L22, L23, L24, L25 }, \
- { KC_NO, KC_NO, L26, L27, L28, L29, L30}, \
- { R06, R05, R04, R03, R02, R01, R00 }, \
- { R13, R12, R11, R10, R09, R08, R07 }, \
- { R20, R19, R18, R17, R16, R15, R14 }, \
- { R27, R26, R25, R24, R23, R22, R21 }, \
- { KC_NO, KC_NO, R32, R31, R30, R29, R28 } \
- }
diff --git a/keyboards/dm9records/ergoinu/info.json b/keyboards/dm9records/ergoinu/info.json
index f6896046f9..1813baa241 100644
--- a/keyboards/dm9records/ergoinu/info.json
+++ b/keyboards/dm9records/ergoinu/info.json
@@ -24,79 +24,79 @@
"layouts": {
"LAYOUT": {
"layout": [
- { "x": 0, "y": 0.6, "label": "ESC" },
- { "x": 1, "y": 0.4, "label": "1" },
- { "x": 2, "y": 0.4, "label": "2" },
- { "x": 3, "y": 0.25, "label": "3" },
- { "x": 4, "y": 0, "label": "4" },
- { "x": 5, "y": 0.25, "label": "5" },
- { "x": 6, "y": 0.4, "label": "6" },
+ {"matrix": [0, 0], "x": 0, "y": 0.6},
+ {"matrix": [0, 1], "x": 1, "y": 0.4},
+ {"matrix": [0, 2], "x": 2, "y": 0.4},
+ {"matrix": [0, 3], "x": 3, "y": 0.25},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0.25},
+ {"matrix": [0, 6], "x": 6, "y": 0.4},
- { "x": 11, "y": 0.4, "label": "7" },
- { "x": 12, "y": 0.25, "label": "8" },
- { "x": 13, "y": 0, "label": "9" },
- { "x": 14, "y": 0.25, "label": "0" },
- { "x": 15, "y": 0.4, "label": "MINUS" },
- { "x": 16, "y": 0.4, "label": "EQUAL" },
- { "x": 17, "y": 0.6, "label": "BACKSLASH" },
+ {"matrix": [5, 6], "x": 11, "y": 0.4},
+ {"matrix": [5, 5], "x": 12, "y": 0.25},
+ {"matrix": [5, 4], "x": 13, "y": 0},
+ {"matrix": [5, 3], "x": 14, "y": 0.25},
+ {"matrix": [5, 2], "x": 15, "y": 0.4},
+ {"matrix": [5, 1], "x": 16, "y": 0.4},
+ {"matrix": [5, 0], "x": 17, "y": 0.6},
- { "x": 0, "y": 1.6, "label": "DELETE" },
- { "x": 1, "y": 1.4, "label": "TAB" },
- { "x": 2, "y": 1.4, "label": "Q" },
- { "x": 3, "y": 1.25, "label": "W" },
- { "x": 4, "y": 1, "label": "E" },
- { "x": 5, "y": 1.25, "label": "R" },
- { "x": 6, "y": 1.4, "label": "T" },
+ {"matrix": [1, 0], "x": 0, "y": 1.6},
+ {"matrix": [1, 1], "x": 1, "y": 1.4},
+ {"matrix": [1, 2], "x": 2, "y": 1.4},
+ {"matrix": [1, 3], "x": 3, "y": 1.25},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1.25},
+ {"matrix": [1, 6], "x": 6, "y": 1.4},
- { "x": 11, "y": 1.4, "label": "Y" },
- { "x": 12, "y": 1.25, "label": "U" },
- { "x": 13, "y": 1, "label": "I" },
- { "x": 14, "y": 1.25, "label": "O" },
- { "x": 15, "y": 1.4, "label": "P" },
- { "x": 16, "y": 1.4, "label": "LBRACKET" },
- { "x": 17, "y": 1.6, "label": "RBRACKET" },
+ {"matrix": [6, 6], "x": 11, "y": 1.4},
+ {"matrix": [6, 5], "x": 12, "y": 1.25},
+ {"matrix": [6, 4], "x": 13, "y": 1},
+ {"matrix": [6, 3], "x": 14, "y": 1.25},
+ {"matrix": [6, 2], "x": 15, "y": 1.4},
+ {"matrix": [6, 1], "x": 16, "y": 1.4},
+ {"matrix": [6, 0], "x": 17, "y": 1.6},
- { "x": 0.25, "y": 2.6, "w": 1.75, "label": "LCTRL" },
- { "x": 2, "y": 2.4, "label": "A" },
- { "x": 3, "y": 2.25, "label": "S" },
- { "x": 4, "y": 2, "label": "D" },
- { "x": 5, "y": 2.25, "label": "F" },
- { "x": 6, "y": 2.4, "label": "G" },
+ {"matrix": [2, 0], "x": 0.25, "y": 2.6, "w": 1.75},
+ {"matrix": [2, 2], "x": 2, "y": 2.4},
+ {"matrix": [2, 3], "x": 3, "y": 2.25},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2.25},
+ {"matrix": [2, 6], "x": 6, "y": 2.4},
- { "x": 11, "y": 2.4, "label": "H" },
- { "x": 12, "y": 2.25, "label": "J" },
- { "x": 13, "y": 2, "label": "K" },
- { "x": 14, "y": 2.25, "label": "L" },
- { "x": 15, "y": 2.4, "label": "SEMICOLON" },
- { "x": 16, "y": 2.4, "label": "QUOTE" },
- { "x": 17, "y": 2.6, "label": "GRAVE" },
+ {"matrix": [7, 6], "x": 11, "y": 2.4},
+ {"matrix": [7, 5], "x": 12, "y": 2.25},
+ {"matrix": [7, 4], "x": 13, "y": 2},
+ {"matrix": [7, 3], "x": 14, "y": 2.25},
+ {"matrix": [7, 2], "x": 15, "y": 2.4},
+ {"matrix": [7, 1], "x": 16, "y": 2.4},
+ {"matrix": [7, 0], "x": 17, "y": 2.6},
- { "x": 0.25, "y": 3.6, "w": 1.75, "label": "LSHIFT" },
- { "x": 2, "y": 3.4, "label": "Z" },
- { "x": 3, "y": 3.25, "label": "X" },
- { "x": 4, "y": 3, "label": "C" },
- { "x": 5, "y": 3.25, "label": "V" },
- { "x": 6, "y": 3.4, "label": "B" },
+ {"matrix": [3, 0], "x": 0.25, "y": 3.6, "w": 1.75},
+ {"matrix": [3, 2], "x": 2, "y": 3.4},
+ {"matrix": [3, 3], "x": 3, "y": 3.25},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3.25},
+ {"matrix": [3, 6], "x": 6, "y": 3.4},
- { "x": 11, "y": 3.4, "label": "N" },
- { "x": 12, "y": 3.25, "label": "M" },
- { "x": 13, "y": 3, "label": "COMMA" },
- { "x": 14, "y": 3.25, "label": "DOT" },
- { "x": 15, "y": 3.4, "label": "SLASH" },
- { "x": 16, "y": 3.4, "label": "RSHIFT" },
- { "x": 17, "y": 3.6, "label": "RSHIFT" },
+ {"matrix": [8, 6], "x": 11, "y": 3.4},
+ {"matrix": [8, 5], "x": 12, "y": 3.25},
+ {"matrix": [8, 4], "x": 13, "y": 3},
+ {"matrix": [8, 3], "x": 14, "y": 3.25},
+ {"matrix": [8, 2], "x": 15, "y": 3.4},
+ {"matrix": [8, 1], "x": 16, "y": 3.4},
+ {"matrix": [8, 0], "x": 17, "y": 3.6},
- { "x": 3, "y": 4.25, "label": "MO(META)" },
- { "x": 4, "y": 4, "label": "LALT" },
- { "x": 5, "y": 4.25, "label": "LGUI" },
- { "x": 6, "y": 4.4, "label": "ENT" },
- { "x": 7, "y": 4.4, "w": 1.5, "label": "SPACE" },
+ {"matrix": [4, 2], "x": 3, "y": 4.25},
+ {"matrix": [4, 3], "x": 4, "y": 4},
+ {"matrix": [4, 4], "x": 5, "y": 4.25},
+ {"matrix": [4, 5], "x": 6, "y": 4.4},
+ {"matrix": [4, 6], "x": 7, "y": 4.4, "w": 1.5},
- { "x": 9.5, "y": 4.4, "w": 1.5, "label": "ENTER" },
- { "x": 11, "y": 4.4, "label": "BACKSPACE" },
- { "x": 12, "y": 4.25, "label": "RGUI" },
- { "x": 13, "y": 4, "label": "RALT" },
- { "x": 14, "y": 4.25, "label": "MO(META)" }
+ {"matrix": [9, 6], "x": 9.5, "y": 4.4, "w": 1.5},
+ {"matrix": [9, 5], "x": 11, "y": 4.4},
+ {"matrix": [9, 4], "x": 12, "y": 4.25},
+ {"matrix": [9, 3], "x": 13, "y": 4},
+ {"matrix": [9, 2], "x": 14, "y": 4.25}
]
}
}