kWindowsNumPadMap top-level constant

Map<int, LogicalKeyboardKey> const kWindowsNumPadMap

A map of Windows KeyboardEvent codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.

Implementation

const Map<int, LogicalKeyboardKey> kWindowsNumPadMap = <int, LogicalKeyboardKey>{
  111: LogicalKeyboardKey.numpadDivide,
  106: LogicalKeyboardKey.numpadMultiply,
  109: LogicalKeyboardKey.numpadSubtract,
  107: LogicalKeyboardKey.numpadAdd,
  97: LogicalKeyboardKey.numpad1,
  98: LogicalKeyboardKey.numpad2,
  99: LogicalKeyboardKey.numpad3,
  100: LogicalKeyboardKey.numpad4,
  101: LogicalKeyboardKey.numpad5,
  102: LogicalKeyboardKey.numpad6,
  103: LogicalKeyboardKey.numpad7,
  104: LogicalKeyboardKey.numpad8,
  105: LogicalKeyboardKey.numpad9,
  96: LogicalKeyboardKey.numpad0,
  110: LogicalKeyboardKey.numpadDecimal,
  146: LogicalKeyboardKey.numpadEqual,
}