summaryrefslogtreecommitdiff
path: root/keyboards/ai
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-20 05:44:05 +0000
committerGitHub <noreply@github.com>2023-01-20 05:44:05 +0000
commit53cc6170ae2687b0c894f05738181a2f16ad0d6c (patch)
tree8ad46caf24ee9dd35af36c2f292d0ba322650c80 /keyboards/ai
parent18d107b29bc2b84b13a19f3fc4ef08724247b1bb (diff)
Refactor some layouts which contain keyboard name (#19645)
* Refactor some layouts which contain keyboard name * use planck_mit
Diffstat (limited to 'keyboards/ai')
-rw-r--r--keyboards/ai/info.json5
-rw-r--r--keyboards/ai/keymaps/default/keymap.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/ai/info.json b/keyboards/ai/info.json
index 3f0f7ffbca..13a0264cb1 100644
--- a/keyboards/ai/info.json
+++ b/keyboards/ai/info.json
@@ -23,8 +23,11 @@
"pid": "0x0000",
"vid": "0xFEED"
},
+ "layout_aliases": {
+ "LAYOUT_ai_5x4_1": "LAYOUT"
+ },
"layouts": {
- "LAYOUT_ai_5x4_1": {
+ "LAYOUT": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0.5 },
{ "matrix": [0, 1], "x": 1, "y": 0 },
diff --git a/keyboards/ai/keymaps/default/keymap.c b/keyboards/ai/keymaps/default/keymap.c
index c948476776..ab38cf945d 100644
--- a/keyboards/ai/keymaps/default/keymap.c
+++ b/keyboards/ai/keymaps/default/keymap.c
@@ -14,7 +14,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* │NaN│App│GUI│Alt│
* └───┴───┴───┴───┘
*/
- [0] = LAYOUT_ai_5x4_1(
+ [0] = LAYOUT(
KC_TAB, KC_Q, KC_W, KC_E,
KC_BSPC, KC_R, KC_T, KC_A,
KC_LSFT, KC_S, KC_D, KC_F,