1
0
Fork 0

Move ortho & numpad layouts to data driven (#20183)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-29 15:54:34 +11:00 committed by GitHub
parent 06664e8a94
commit 4869b8061c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
589 changed files with 19002 additions and 25368 deletions

View file

@ -1,11 +0,0 @@
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_2x2( \
k00, k01, \
k10, k11 \
) { \
{ k00, k01 }, \
{ k10, k11 } \
}

View file

@ -18,11 +18,11 @@
"layouts": {
"LAYOUT_ortho_2x2": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"x":0, "y":1},
{"x":1, "y":1}
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1}
]
}
}