From 46b97a9b62e183a5a7824a66fa626f0a18fde0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Kiss?= Date: Wed, 11 Oct 2017 22:22:34 +0200 Subject: [PATCH] feat(user-config): Add ISO key scancode (#441) close: #437 --- .../src/app/components/popover/tab/keypress/scancodes.json | 4 ++++ packages/uhk-web/src/app/services/mapper.service.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/uhk-web/src/app/components/popover/tab/keypress/scancodes.json b/packages/uhk-web/src/app/components/popover/tab/keypress/scancodes.json index edf4bb6b..b67fc2a5 100644 --- a/packages/uhk-web/src/app/components/popover/tab/keypress/scancodes.json +++ b/packages/uhk-web/src/app/components/popover/tab/keypress/scancodes.json @@ -314,6 +314,10 @@ "id": "69", "text": "F12" }, + { + "id": "100", + "text": "| ISO" + }, { "id": "104", "text": "F13" diff --git a/packages/uhk-web/src/app/services/mapper.service.ts b/packages/uhk-web/src/app/services/mapper.service.ts index 5e48c1bb..aeba287f 100644 --- a/packages/uhk-web/src/app/services/mapper.service.ts +++ b/packages/uhk-web/src/app/services/mapper.service.ts @@ -185,6 +185,7 @@ export class MapperService { this.basicScanCodeTextMap.set(97, ['pgup', '9']); this.basicScanCodeTextMap.set(98, ['Insert', '0']); this.basicScanCodeTextMap.set(99, ['Del', '.']); + this.basicScanCodeTextMap.set(100, ['ISO key', '|']); this.basicScanCodeTextMap.set(104, ['F13']); this.basicScanCodeTextMap.set(105, ['F14']); this.basicScanCodeTextMap.set(106, ['F15']);