# keycode.cr: Corresponding keycodes for ASCII characters, in JSON-compatible format

KEYCODE_MAP = {
  "1": [
    2,
  ],
  "2": [
    3,
  ],
  "3": [
    4,
  ],
  "4": [
    5,
  ],
  "5": [
    6,
  ],
  "6": [
    7,
  ],
  "7": [
    8,
  ],
  "8": [
    9,
  ],
  "9": [
    10,
  ],
  "0": [
    11,
  ],
  "!": [
    42,
    2,
  ],
  "@": [
    42,
    3,
  ],
  "#": [
    42,
    4,
  ],
  "$": [
    42,
    5,
  ],
  "%": [
    42,
    6,
  ],
  "^": [
    42,
    7,
  ],
  "&": [
    42,
    8,
  ],
  "*": [
    42,
    9,
  ],
  "(": [
    42,
    10,
  ],
  ")": [
    42,
    11,
  ],
  "-": [
    12,
  ],
  "_": [
    42,
    12,
  ],
  "=": [
    13,
  ],
  "+": [
    42,
    13,
  ],
  "Q": [
    16,
  ],
  "W": [
    17,
  ],
  "E": [
    18,
  ],
  "R": [
    19,
  ],
  "T": [
    20,
  ],
  "Y": [
    21,
  ],
  "U": [
    22,
  ],
  "I": [
    23,
  ],
  "O": [
    24,
  ],
  "P": [
    25,
  ],
  "[": [
    26,
  ],
  "{": [
    42,
    26,
  ],
  "]": [
    27,
  ],
  "}": [
    42,
    27,
  ],
  "A": [
    30,
  ],
  "S": [
    31,
  ],
  "D": [
    32,
  ],
  "F": [
    33,
  ],
  "G": [
    34,
  ],
  "H": [
    35,
  ],
  "J": [
    36,
  ],
  "K": [
    37,
  ],
  "L": [
    38,
  ],
  ";": [
    39,
  ],
  ":": [
    42,
    39,
  ],
  "'": [
    40,
  ],
  "\"": [
    42,
    40,
  ],
  "`": [
    41,
  ],
  "~": [
    42,
    41,
  ],
  "\\": [
    43,
  ],
  "|": [
    42,
    43,
  ],
  "Z": [
    44,
  ],
  "X": [
    45,
  ],
  "C": [
    46,
  ],
  "V": [
    47,
  ],
  "B": [
    48,
  ],
  "N": [
    49,
  ],
  "M": [
    50,
  ],
  ",": [
    51,
  ],
  "<": [
    42,
    51,
  ],
  ".": [
    52,
  ],
  ">": [
    42,
    52,
  ],
  "/": [
    53,
  ],
  "?": [
    42,
    53,
  ],
  " ": [
    57,
  ],
  "\n": [
    28,
  ]
}
