From 178c32af7bb86b36d46583a15f54999cad4cd15c Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Sat, 25 Jul 2026 21:39:08 +0200 Subject: [PATCH] chore: cleanup keymaps (@fehmer) --- frontend/static/layouts/BEAKL_Zi.json | 2 +- frontend/static/layouts/MALTRON.json | 2 +- frontend/static/layouts/PRSTEN.json | 2 +- frontend/static/layouts/RSTHD.json | 2 +- frontend/static/layouts/anishtro.json | 2 +- frontend/static/layouts/dusk.json | 2 +- frontend/static/layouts/handsdown_promethium.json | 2 +- packages/schemas/src/layouts.ts | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/static/layouts/BEAKL_Zi.json b/frontend/static/layouts/BEAKL_Zi.json index ff77c7784b95..12e4e8affc47 100644 --- a/frontend/static/layouts/BEAKL_Zi.json +++ b/frontend/static/layouts/BEAKL_Zi.json @@ -57,6 +57,6 @@ ["f", "F"], ["v", "V"] ], - "row5": [["i", "I"], [" "]] + "row5": [[" "]] } } diff --git a/frontend/static/layouts/MALTRON.json b/frontend/static/layouts/MALTRON.json index a038f3f90b2d..36de1cb637b7 100644 --- a/frontend/static/layouts/MALTRON.json +++ b/frontend/static/layouts/MALTRON.json @@ -57,6 +57,6 @@ ["-", "_"], ["x", "X"] ], - "row5": [["e", "E"], [" "]] + "row5": [[" "]] } } diff --git a/frontend/static/layouts/PRSTEN.json b/frontend/static/layouts/PRSTEN.json index 4726b02ae079..ea20e2c929cf 100644 --- a/frontend/static/layouts/PRSTEN.json +++ b/frontend/static/layouts/PRSTEN.json @@ -57,6 +57,6 @@ ["z", "Z"], [".", ">"] ], - "row5": [[" "], ["e", "E"]] + "row5": [[" "]] } } diff --git a/frontend/static/layouts/RSTHD.json b/frontend/static/layouts/RSTHD.json index efc07b3f7f2d..1397f42eb18c 100644 --- a/frontend/static/layouts/RSTHD.json +++ b/frontend/static/layouts/RSTHD.json @@ -57,6 +57,6 @@ [";", ":"], ["-", "_"] ], - "row5": [["e", "E"], [" "]] + "row5": [[" "]] } } diff --git a/frontend/static/layouts/anishtro.json b/frontend/static/layouts/anishtro.json index 6a46a69e810f..9641f28d417a 100644 --- a/frontend/static/layouts/anishtro.json +++ b/frontend/static/layouts/anishtro.json @@ -57,6 +57,6 @@ ["'", "\""], ["-", "_"] ], - "row5": [["e", "E"], [" "]] + "row5": [[" "]] } } diff --git a/frontend/static/layouts/dusk.json b/frontend/static/layouts/dusk.json index 6e3430601fe6..1f20db92f278 100644 --- a/frontend/static/layouts/dusk.json +++ b/frontend/static/layouts/dusk.json @@ -57,6 +57,6 @@ ["/", "?"], [",", "<"] ], - "row5": [["r", "R"], [" "]] + "row5": [[" "]] } } diff --git a/frontend/static/layouts/handsdown_promethium.json b/frontend/static/layouts/handsdown_promethium.json index 67a1c8bed6b7..dff88cd59277 100644 --- a/frontend/static/layouts/handsdown_promethium.json +++ b/frontend/static/layouts/handsdown_promethium.json @@ -57,6 +57,6 @@ ["=", "+"], ["/", "?"] ], - "row5": [["r", "R"], [" "]] + "row5": [[" "]] } } diff --git a/packages/schemas/src/layouts.ts b/packages/schemas/src/layouts.ts index cfb277077522..e6453d4cc318 100644 --- a/packages/schemas/src/layouts.ts +++ b/packages/schemas/src/layouts.ts @@ -269,7 +269,7 @@ const ansiLayoutSchema = commonLayoutSchema row2: z.array(KeyLegendsSchema).length(13), row3: z.array(KeyLegendsSchema).length(11), row4: z.array(KeyLegendsSchema).length(10), - row5: z.array(KeyLegendsSchema).min(1).max(2), + row5: z.array(KeyLegendsSchema).length(1), }) .strict(), }) @@ -284,7 +284,7 @@ const isoLayoutSchema = commonLayoutSchema row2: z.array(KeyLegendsSchema).length(12), row3: z.array(KeyLegendsSchema).length(12), row4: z.array(KeyLegendsSchema).length(11), - row5: z.array(KeyLegendsSchema).min(1).max(2), + row5: z.array(KeyLegendsSchema).length(1), }) .strict(), })