From b9c68107d22e000df72abb81b9d7790586e409e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 15 Jan 2021 17:05:00 +0100 Subject: [PATCH] kbd layout -> kbd map. --- src/component/types/events.ts | 2 +- src/component/types/messages.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/component/types/events.ts b/src/component/types/events.ts index 38188d9c..3655e673 100644 --- a/src/component/types/events.ts +++ b/src/component/types/events.ts @@ -26,7 +26,7 @@ export const CLIPBOARD_UPDATED = 'clipboard/updated' export const CLIPBOARD_SET = 'clipboard/set' export const KEYBOARD_MODIFIERS = 'keyboard/modifiers' -export const KEYBOARD_LAYOUT = 'keyboard/layout' +export const KEYBOARD_MAP = 'keyboard/map' export const CURSOR_IMAGE = 'cursor/image' diff --git a/src/component/types/messages.ts b/src/component/types/messages.ts index 847b88f5..23faffe5 100644 --- a/src/component/types/messages.ts +++ b/src/component/types/messages.ts @@ -142,9 +142,10 @@ export interface KeyboardModifiers { scroll_lock: boolean } -export interface KeyboardLayout { +export interface KeyboardMap { event: string | undefined layout: string + variant: string } /////////////////////////////