Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyboardTester

Holds score values for all known keyboard layouts. Scores are updated by comparing key codes with the corresponding character produced by the user's keyboard.

Hierarchy

  • KeyboardTester

Index

Constructors

Properties

candidates: KeyboardLayoutData[]
scores: number[]
testedInputs: Map<string, string> = ...
topScore: number = 0

Accessors

  • get inputCount(): number

Methods

  • reset(): void