Move ortho & numpad layouts to data driven (#20183)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_ortho_2x2( \
|
||||
k00, k01, \
|
||||
k10, k11 \
|
||||
) { \
|
||||
{ k00, k01 }, \
|
||||
{ k10, k11 } \
|
||||
}
|
@@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user