From 3d77cf2fef0004e695be330cfb24f957e4b61fd7 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Mon, 3 Jun 2024 08:37:42 +0700 Subject: [PATCH] docs(web): on KLS format and its arrays of 65 entries --- common/web/keyboard-processor/src/keyboards/defaultLayouts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/web/keyboard-processor/src/keyboards/defaultLayouts.ts b/common/web/keyboard-processor/src/keyboards/defaultLayouts.ts index 47fefb8c57..bda44ce97f 100644 --- a/common/web/keyboard-processor/src/keyboards/defaultLayouts.ts +++ b/common/web/keyboard-processor/src/keyboards/defaultLayouts.ts @@ -28,8 +28,8 @@ export interface EncodedVisualKeyboard { * Keyboard Layer Specification: an object-based map of layer name to the keycaps for its * 65 keys. The 65 keys are ordered from left to right, then top to bottom. * - * There are a few reserved entries. - * TODO: better document the exact ranges involved. + * The key ID corresponding to each index of the array is specified within `Codes.dfltCodes`. + * Entries corresponding to `K_*` in `Codes.dfltCodes` are reserved for future use. */ KLS?: {[layerName: string]: string[]}, /**