Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyboardLayoutService

Hierarchy

  • KeyboardLayoutService

Index

Constructors

Properties

currentLayout?: KeyboardLayout
keyValidator?: KeyValidator
keyboardLayoutChanged: Emitter<KeyboardLayout> = ...
layoutChangeNotifier: KeyboardLayoutChangeNotifier
layoutProvider: KeyboardLayoutProvider

Accessors

Methods

  • addKeyMapping(key2KeyCode: KeyCode[], mappedKey: Key, value: string, shift: boolean, alt: boolean): void
  • addWindowsKeyMapping(key2KeyCode: KeyCode[], mappedKey: Key, vkey: string, value: string): void
  • getCharacterIndex(key: Key, shift?: boolean): number
  • getKeyboardCharacter(key: Key): string
  • initialize(): Promise<void>
  • shouldIncludeKey(code: string): boolean
  • validateKeyCode(keyCode: KeyCode): void