|
| 1 | +import { KeyCombo } from "../keyboardLayouts" |
| 2 | + |
| 3 | +export const chars = { |
| 4 | + A: { key: "KeyA", shift: true }, |
| 5 | + B: { key: "KeyB", shift: true }, |
| 6 | + C: { key: "KeyC", shift: true }, |
| 7 | + D: { key: "KeyD", shift: true }, |
| 8 | + E: { key: "KeyE", shift: true }, |
| 9 | + F: { key: "KeyF", shift: true }, |
| 10 | + G: { key: "KeyG", shift: true }, |
| 11 | + H: { key: "KeyH", shift: true }, |
| 12 | + I: { key: "KeyI", shift: true }, |
| 13 | + J: { key: "KeyJ", shift: true }, |
| 14 | + K: { key: "KeyK", shift: true }, |
| 15 | + L: { key: "KeyL", shift: true }, |
| 16 | + M: { key: "KeyM", shift: true }, |
| 17 | + N: { key: "KeyN", shift: true }, |
| 18 | + O: { key: "KeyO", shift: true }, |
| 19 | + P: { key: "KeyP", shift: true }, |
| 20 | + Q: { key: "KeyQ", shift: true }, |
| 21 | + R: { key: "KeyR", shift: true }, |
| 22 | + S: { key: "KeyS", shift: true }, |
| 23 | + T: { key: "KeyT", shift: true }, |
| 24 | + U: { key: "KeyU", shift: true }, |
| 25 | + V: { key: "KeyV", shift: true }, |
| 26 | + W: { key: "KeyW", shift: true }, |
| 27 | + X: { key: "KeyX", shift: true }, |
| 28 | + Y: { key: "KeyY", shift: true }, |
| 29 | + Z: { key: "KeyZ", shift: true }, |
| 30 | + a: { key: "KeyA" }, |
| 31 | + b: { key: "KeyB" }, |
| 32 | + c: { key: "KeyC" }, |
| 33 | + d: { key: "KeyD" }, |
| 34 | + e: { key: "KeyE" }, |
| 35 | + "€": { key: "KeyE", altRight: true }, |
| 36 | + f: { key: "KeyF" }, |
| 37 | + g: { key: "KeyG" }, |
| 38 | + h: { key: "KeyH" }, |
| 39 | + i: { key: "KeyI" }, |
| 40 | + j: { key: "KeyJ" }, |
| 41 | + k: { key: "KeyK" }, |
| 42 | + l: { key: "KeyL" }, |
| 43 | + m: { key: "KeyM" }, |
| 44 | + n: { key: "KeyN" }, |
| 45 | + o: { key: "KeyO" }, |
| 46 | + p: { key: "KeyP" }, |
| 47 | + q: { key: "KeyQ" }, |
| 48 | + r: { key: "KeyR" }, |
| 49 | + s: { key: "KeyS" }, |
| 50 | + t: { key: "KeyT" }, |
| 51 | + u: { key: "KeyU" }, |
| 52 | + v: { key: "KeyV" }, |
| 53 | + w: { key: "KeyW" }, |
| 54 | + x: { key: "KeyX" }, |
| 55 | + y: { key: "KeyY" }, |
| 56 | + z: { key: "KeyZ" }, |
| 57 | + "\\": { key: "Backquote" }, |
| 58 | + "|": { key: "Backquote", shift: true }, |
| 59 | + 1: { key: "Digit1" }, |
| 60 | + "!": { key: "Digit1", shift: true }, |
| 61 | + 2: { key: "Digit2" }, |
| 62 | + "\"": { key: "Digit2", shift: true }, |
| 63 | + 3: { key: "Digit3" }, |
| 64 | + "£": { key: "Digit3", shift: true }, |
| 65 | + 4: { key: "Digit4" }, |
| 66 | + "$": { key: "Digit4", shift: true }, |
| 67 | + 5: { key: "Digit5" }, |
| 68 | + "%": { key: "Digit5", shift: true }, |
| 69 | + 6: { key: "Digit6" }, |
| 70 | + "&": { key: "Digit6", shift: true }, |
| 71 | + 7: { key: "Digit7" }, |
| 72 | + "/": { key: "Digit7", shift: true }, |
| 73 | + 8: { key: "Digit8" }, |
| 74 | + "(": { key: "Digit8", shift: true }, |
| 75 | + 9: { key: "Digit9" }, |
| 76 | + ")": { key: "Digit9", shift: true }, |
| 77 | + 0: { key: "Digit0" }, |
| 78 | + "=": { key: "Digit0", shift: true }, |
| 79 | + "'": { key: "Minus" }, |
| 80 | + "?": { key: "Minus", shift: true }, |
| 81 | + "ì": { key: "Equal" }, |
| 82 | + "^": { key: "Equal", shift: true }, |
| 83 | + "è": { key: "BracketLeft" }, |
| 84 | + "é": { key: "BracketLeft", shift: true }, |
| 85 | + "[": { key: "BracketLeft", altRight: true }, |
| 86 | + "{": { key: "BracketLeft", shift: true, altRight: true }, |
| 87 | + "+": { key: "BracketRight" }, |
| 88 | + "*": { key: "BracketRight", shift: true }, |
| 89 | + "]": { key: "BracketRight", altRight: true }, |
| 90 | + "}": { key: "BracketRight", shift: true, altRight: true }, |
| 91 | + "ò": { key: "Semicolon" }, |
| 92 | + "ç": { key: "Semicolon", shift: true }, |
| 93 | + "@": { key: "Semicolon", altRight: true }, |
| 94 | + "à": { key: "Quote" }, |
| 95 | + "°": { key: "Quote", shift: true }, |
| 96 | + "#": { key: "Quote", altRight: true }, |
| 97 | + "ù": { key: "Backslash" }, |
| 98 | + "§": { key: "Backslash", shift: true }, |
| 99 | + ",": { key: "Comma" }, |
| 100 | + ";": { key: "Comma", shift: true }, |
| 101 | + ".": { key: "Period" }, |
| 102 | + ":": { key: "Period", shift: true }, |
| 103 | + "-": { key: "Slash" }, |
| 104 | + "_": { key: "Slash", shift: true }, |
| 105 | + "<": { key: "IntlBackslash" }, |
| 106 | + ">": { key: "IntlBackslash", shift: true }, |
| 107 | + " ": { key: "Space" }, |
| 108 | + "\n": { key: "Enter" }, |
| 109 | + Enter: { key: "Enter" }, |
| 110 | + Tab: { key: "Tab" }, |
| 111 | +} as Record<string, KeyCombo>; |
0 commit comments