From de88f6af2a5cc69f2710ab8329d4d8397825cba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henr=C3=A9=20Botha?= Date: Wed, 14 Aug 2024 02:57:14 +0200 Subject: [PATCH] Add Insert and Tilde to keyboard mapping (#1107) Tilde was actually already there, just labelled in a way people might not expect. This commit elaborates on the label for that keycode to make it a bit more obvious. --- www/src/Data/Keyboard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/src/Data/Keyboard.js b/www/src/Data/Keyboard.js index c13d4da02..1cad9c5ac 100644 --- a/www/src/Data/Keyboard.js +++ b/www/src/Data/Keyboard.js @@ -41,7 +41,7 @@ export const KEY_CODES = [ { label: 'Arrow Left', value: 0x50 }, { label: 'Arrow Right', value: 0x4f }, { label: 'Arrow Up', value: 0x52 }, - { label: 'Backquote', value: 0x35 }, + { label: 'Backquote (Grave/Tilde)', value: 0x35 }, { label: 'Backslash', value: 0x31 }, { label: 'Backspace', value: 0x2a }, { label: 'Bracket Left', value: 0x2f }, @@ -88,6 +88,7 @@ export const KEY_CODES = [ { label: 'F22', value: 0x71 }, { label: 'F23', value: 0x72 }, { label: 'F24', value: 0x73 }, + { label: 'Insert', value: 0x49 }, { label: 'Home', value: 0x4a }, { label: 'Intl Backslash', value: 0x31 }, { label: 'A', value: 0x04 },