|
| 1 | +import { KeyCombo } from "../keyboardLayouts" |
| 2 | + |
| 3 | +const keyTrema = { key: "Backslash" } // tréma (umlaut), two dots placed above a vowel |
| 4 | +const keyAcute = { key: "Equal" } // accent aigu (acute accent), mark ´ placed above the letter |
| 5 | +const keyHat = { key: "Digit3", shift: true, altRight: true } // accent circonflexe (accent hat), mark ^ placed above the letter |
| 6 | +const keyCaron = { key: "Equal", shift: true } // caron or haček (inverted hat), mark ˇ placed above the letter |
| 7 | +const keyGrave = { key: "Digit7", shift: true, altRight: true } // accent grave, mark ` placed above the letter |
| 8 | +const keyTilde = { key: "Digit1", shift: true, altRight: true } // tilde, mark ~ placed above the letter |
| 9 | +const keyRing = { key: "Backquote", shift: true } // kroužek (little ring), mark ° placed above the letter |
| 10 | +const keyOverdot = { key: "Digit8", shift: true, altRight: true } // overdot (dot above), mark ˙ placed above the letter |
| 11 | +const keyHook = { key: "Digit6", shift: true, altRight: true } // ogonoek (little hook), mark ˛ placed beneath a letter |
| 12 | +const keyCedille = { key: "Equal", shift: true, altRight: true } // accent cedille (cedilla), mark ¸ placed beneath a letter |
| 13 | + |
| 14 | +export const chars = { |
| 15 | + A: { key: "KeyA", shift: true }, |
| 16 | + "Ä": { key: "KeyA", shift: true, accentKey: keyTrema }, |
| 17 | + "Á": { key: "KeyA", shift: true, accentKey: keyAcute }, |
| 18 | + "Â": { key: "KeyA", shift: true, accentKey: keyHat }, |
| 19 | + "À": { key: "KeyA", shift: true, accentKey: keyGrave }, |
| 20 | + "Ã": { key: "KeyA", shift: true, accentKey: keyTilde }, |
| 21 | + "Ȧ": { key: "KeyA", shift: true, accentKey: keyOverdot }, |
| 22 | + "Ą": { key: "KeyA", shift: true, accentKey: keyHook }, |
| 23 | + B: { key: "KeyB", shift: true }, |
| 24 | + "Ḃ": { key: "KeyB", shift: true, accentKEy: keyOverdot }, |
| 25 | + C: { key: "KeyC", shift: true }, |
| 26 | + "Č": { key: "KeyC", shift: true, accentKey: keyCaron }, |
| 27 | + "Ċ": { key: "KeyC", shift: true, accentKey: keyOverdot }, |
| 28 | + "Ç": { key: "KeyC", shift: true, accentKey: keyCedille }, |
| 29 | + D: { key: "KeyD", shift: true }, |
| 30 | + "Ď": { key: "KeyD", shift: true, accentKey: keyCaron }, |
| 31 | + "Ḋ": { key: "KeyD", shift: true, accentKey: keyOverdot }, |
| 32 | + E: { key: "KeyE", shift: true }, |
| 33 | + "Ë": { key: "KeyE", shift: true, accentKey: keyTrema }, |
| 34 | + "É": { key: "KeyE", shift: true, accentKey: keyAcute }, |
| 35 | + "Ê": { key: "KeyE", shift: true, accentKey: keyHat }, |
| 36 | + "Ě": { key: "KeyE", shift: true, accentKey: keyCaron }, |
| 37 | + "È": { key: "KeyE", shift: true, accentKey: keyGrave }, |
| 38 | + "Ẽ": { key: "KeyE", shift: true, accentKey: keyTilde }, |
| 39 | + "Ė": { key: "KeyE", shift: true, accentKEy: keyOverdot }, |
| 40 | + "Ę": { key: "KeyE", shift: true, accentKey: keyHook }, |
| 41 | + F: { key: "KeyF", shift: true }, |
| 42 | + "Ḟ": { key: "KeyF", shift: true, accentKey: keyOverdot }, |
| 43 | + G: { key: "KeyG", shift: true }, |
| 44 | + "Ġ": { key: "KeyG", shift: true, accentKey: keyOverdot }, |
| 45 | + H: { key: "KeyH", shift: true }, |
| 46 | + "Ḣ": { key: "KeyH", shift: true, accentKey: keyOverdot }, |
| 47 | + I: { key: "KeyI", shift: true }, |
| 48 | + "Ï": { key: "KeyI", shift: true, accentKey: keyTrema }, |
| 49 | + "Í": { key: "KeyI", shift: true, accentKey: keyAcute }, |
| 50 | + "Î": { key: "KeyI", shift: true, accentKey: keyHat }, |
| 51 | + "Ì": { key: "KeyI", shift: true, accentKey: keyGrave }, |
| 52 | + "Ĩ": { key: "KeyI", shift: true, accentKey: keyTilde }, |
| 53 | + "İ": { key: "KeyI", shift: true, accentKey: keyOverdot }, |
| 54 | + "Į": { key: "KeyI", shift: true, accentKey: keyHook }, |
| 55 | + J: { key: "KeyJ", shift: true }, |
| 56 | + K: { key: "KeyK", shift: true }, |
| 57 | + L: { key: "KeyL", shift: true }, |
| 58 | + "Ŀ": { key: "KeyL", shift: true }, |
| 59 | + M: { key: "KeyM", shift: true }, |
| 60 | + "Ṁ": { key: "KeyM", shift: true }, |
| 61 | + N: { key: "KeyN", shift: true }, |
| 62 | + "Ň": { key: "KeyN", shift: true, accentKey: keyCaron }, |
| 63 | + "Ñ": { key: "KeyN", shift: true, accentKey: keyTilde }, |
| 64 | + "Ṅ": { key: "KeyN", shift: true, accentKEy: keyOverdot }, |
| 65 | + O: { key: "KeyO", shift: true }, |
| 66 | + "Ö": { key: "KeyO", shift: true, accentKey: keyTrema }, |
| 67 | + "Ó": { key: "KeyO", shift: true, accentKey: keyAcute }, |
| 68 | + "Ô": { key: "KeyO", shift: true, accentKey: keyHat }, |
| 69 | + "Ò": { key: "KeyO", shift: true, accentKey: keyGrave }, |
| 70 | + "Õ": { key: "KeyO", shift: true, accentKey: keyTilde }, |
| 71 | + "Ȯ": { key: "KeyO", shift: true, accentKey: keyOverdot }, |
| 72 | + "Ǫ": { key: "KeyO", shift: true, accentKey: keyHook }, |
| 73 | + P: { key: "KeyP", shift: true }, |
| 74 | + "Ṗ": { key: "KeyP", shift: true, accentKey: keyOverdot }, |
| 75 | + Q: { key: "KeyQ", shift: true }, |
| 76 | + R: { key: "KeyR", shift: true }, |
| 77 | + "Ř": { key: "KeyR", shift: true, accentKey: keyCaron }, |
| 78 | + "Ṙ": { key: "KeyR", shift: true, accentKey: keyOverdot }, |
| 79 | + S: { key: "KeyS", shift: true }, |
| 80 | + "Š": { key: "KeyS", shift: true, accentKey: keyCaron }, |
| 81 | + "Ṡ": { key: "KeyS", shift: true, accentKey: keyOverdot }, |
| 82 | + T: { key: "KeyT", shift: true }, |
| 83 | + "Ť": { key: "KeyT", shift: true, accentKey: keyCaron }, |
| 84 | + "Ṫ": { key: "KeyT", shift: true, accentKey: keyOverdot }, |
| 85 | + U: { key: "KeyU", shift: true }, |
| 86 | + "Ü": { key: "KeyU", shift: true, accentKey: keyTrema }, |
| 87 | + "Ú": { key: "KeyU", shift: true, accentKey: keyAcute }, |
| 88 | + "Û": { key: "KeyU", shift: true, accentKey: keyHat }, |
| 89 | + "Ù": { key: "KeyU", shift: true, accentKey: keyGrave }, |
| 90 | + "Ũ": { key: "KeyU", shift: true, accentKey: keyTilde }, |
| 91 | + "Ů": { key: "KeyU", shift: true, accentKey: keyRing }, |
| 92 | + "Ų": { key: "KeyU", shift: true, accentKey: keyHook }, |
| 93 | + V: { key: "KeyV", shift: true }, |
| 94 | + W: { key: "KeyW", shift: true }, |
| 95 | + "Ẇ": { key: "KeyW", shift: true, accentKey: keyOverdot }, |
| 96 | + X: { key: "KeyX", shift: true }, |
| 97 | + "Ẋ": { key: "KeyX", shift: true, accentKey: keyOverdot }, |
| 98 | + Y: { key: "KeyY", shift: true }, |
| 99 | + "Ý": { key: "KeyY", shift: true, accentKey: keyAcute }, |
| 100 | + "Ẏ": { key: "KeyY", shift: true, accentKey: keyOverdot }, |
| 101 | + Z: { key: "KeyZ", shift: true }, |
| 102 | + "Ż": { key: "KeyZ", shift: true, accentKey: keyOverdot }, |
| 103 | + a: { key: "KeyA" }, |
| 104 | + "ä": { key: "KeyA", accentKey: keyTrema }, |
| 105 | + "â": { key: "KeyA", accentKey: keyHat }, |
| 106 | + "à": { key: "KeyA", accentKey: keyGrave }, |
| 107 | + "ã": { key: "KeyA", accentKey: keyTilde }, |
| 108 | + "ȧ": { key: "KeyA", accentKey: keyOverdot }, |
| 109 | + "ą": { key: "KeyA", accentKey: keyHook }, |
| 110 | + b: { key: "KeyB" }, |
| 111 | + "{": { key: "KeyB", altRight: true }, |
| 112 | + "ḃ": { key: "KeyB", accentKey: keyOverdot }, |
| 113 | + c: { key: "KeyC" }, |
| 114 | + "&": { key: "KeyC", altRight: true }, |
| 115 | + "ç": { key: "KeyC", accentKey: keyCedille }, |
| 116 | + "ċ": { key: "KeyC", accentKey: keyOverdot }, |
| 117 | + d: { key: "KeyD" }, |
| 118 | + "ď": { key: "KeyD", accentKey: keyCaron }, |
| 119 | + "ḋ": { key: "KeyD", accentKey: keyOverdot }, |
| 120 | + "Đ": { key: "KeyD", altRight: true }, |
| 121 | + e: { key: "KeyE" }, |
| 122 | + "ë": { key: "KeyE", accentKey: keyTrema }, |
| 123 | + "ê": { key: "KeyE", accentKey: keyHat }, |
| 124 | + "ẽ": { key: "KeyE", accentKey: keyTilde }, |
| 125 | + "è": { key: "KeyE", accentKey: keyGrave }, |
| 126 | + "ė": { key: "KeyE", accentKey: keyOverdot }, |
| 127 | + "ę": { key: "KeyE", accentKey: keyHook }, |
| 128 | + "€": { key: "KeyE", altRight: true }, |
| 129 | + f: { key: "KeyF" }, |
| 130 | + "ḟ": { key: "KeyF", accentKey: keyOverdot }, |
| 131 | + "[": { key: "KeyF", altRight: true }, |
| 132 | + g: { key: "KeyG" }, |
| 133 | + "ġ": { key: "KeyG", accentKey: keyOverdot }, |
| 134 | + "]": { key: "KeyF", altRight: true }, |
| 135 | + h: { key: "KeyH" }, |
| 136 | + "ḣ": { key: "KeyH", accentKey: keyOverdot }, |
| 137 | + i: { key: "KeyI" }, |
| 138 | + "ï": { key: "KeyI", accentKey: keyTrema }, |
| 139 | + "î": { key: "KeyI", accentKey: keyHat }, |
| 140 | + "ì": { key: "KeyI", accentKey: keyGrave }, |
| 141 | + "ĩ": { key: "KeyI", accentKey: keyTilde }, |
| 142 | + "ı": { key: "KeyI", accentKey: keyOverdot }, |
| 143 | + "į": { key: "KeyI", accentKey: keyHook }, |
| 144 | + j: { key: "KeyJ" }, |
| 145 | + "ȷ": { key: "KeyJ", accentKey: keyOverdot }, |
| 146 | + k: { key: "KeyK" }, |
| 147 | + "ł": { key: "KeyK", altRight: true }, |
| 148 | + l: { key: "KeyL" }, |
| 149 | + "ŀ": { key: "KeyL", accentKey: keyOverdot }, |
| 150 | + "Ł": { key: "KeyL", altRight: true }, |
| 151 | + m: { key: "KeyM" }, |
| 152 | + "ṁ": { key: "KeyM", accentKey: keyOverdot }, |
| 153 | + n: { key: "KeyN" }, |
| 154 | + "}": { key: "KeyN", altRight: true }, |
| 155 | + "ň": { key: "KeyN", accentKey: keyCaron }, |
| 156 | + "ñ": { key: "KeyN", accentKey: keyTilde }, |
| 157 | + "ṅ": { key: "KeyN", accentKey: keyOverdot }, |
| 158 | + o: { key: "KeyO" }, |
| 159 | + "ö": { key: "Key0", accentKey: keyTrema }, |
| 160 | + "ó": { key: "KeyO", accentKey: keyAcute }, |
| 161 | + "ô": { key: "KeyO", accentKey: keyHat }, |
| 162 | + "ò": { key: "KeyO", accentKey: keyGrave }, |
| 163 | + "õ": { key: "KeyO", accentKey: keyTilde }, |
| 164 | + "ȯ": { key: "KeyO", accentKey: keyOverdot }, |
| 165 | + "ǫ": { key: "KeyO", accentKey: keyHook }, |
| 166 | + p: { key: "KeyP" }, |
| 167 | + "ṗ": { key: "KeyP", accentKey: keyOverdot }, |
| 168 | + q: { key: "KeyQ" }, |
| 169 | + r: { key: "KeyR" }, |
| 170 | + "ṙ": { key: "KeyR", accentKey: keyOverdot }, |
| 171 | + s: { key: "KeyS" }, |
| 172 | + "ṡ": { key: "KeyS", accentKey: keyOverdot }, |
| 173 | + "đ": { key: "KeyS", altRight: true }, |
| 174 | + t: { key: "KeyT" }, |
| 175 | + "ť": { key: "KeyT", accentKey: keyCaron }, |
| 176 | + "ṫ": { key: "KeyT", accentKey: keyOverdot }, |
| 177 | + u: { key: "KeyU" }, |
| 178 | + "ü": { key: "KeyU", accentKey: keyTrema }, |
| 179 | + "û": { key: "KeyU", accentKey: keyHat }, |
| 180 | + "ù": { key: "KeyU", accentKey: keyGrave }, |
| 181 | + "ũ": { key: "KeyU", accentKey: keyTilde }, |
| 182 | + "ų": { key: "KeyU", accentKey: keyHook }, |
| 183 | + v: { key: "KeyV" }, |
| 184 | + "@": { key: "KeyV", altRight: true }, |
| 185 | + w: { key: "KeyW" }, |
| 186 | + "ẇ": { key: "KeyW", accentKey: keyOverdot }, |
| 187 | + x: { key: "KeyX" }, |
| 188 | + "#": { key: "KeyX", altRight: true }, |
| 189 | + "ẋ": { key: "KeyX", accentKey: keyOverdot }, |
| 190 | + y: { key: "KeyY" }, |
| 191 | + "ẏ": { key: "KeyY", accentKey: keyOverdot }, |
| 192 | + z: { key: "KeyZ" }, |
| 193 | + "ż": { key: "KeyZ", accentKey: keyOverdot }, |
| 194 | + ";": { key: "Backquote" }, |
| 195 | + "°": { key: "Backquote", shift: true, deadKey: true }, |
| 196 | + "+": { key: "Digit1" }, |
| 197 | + 1: { key: "Digit1", shift: true }, |
| 198 | + "ě": { key: "Digit2" }, |
| 199 | + 2: { key: "Digit2", shift: true }, |
| 200 | + "š": { key: "Digit3" }, |
| 201 | + 3: { key: "Digit3", shift: true }, |
| 202 | + "č": { key: "Digit4" }, |
| 203 | + 4: { key: "Digit4", shift: true }, |
| 204 | + "ř": { key: "Digit5" }, |
| 205 | + 5: { key: "Digit5", shift: true }, |
| 206 | + "ž": { key: "Digit6" }, |
| 207 | + 6: { key: "Digit6", shift: true }, |
| 208 | + "ý": { key: "Digit7" }, |
| 209 | + 7: { key: "Digit7", shift: true }, |
| 210 | + "á": { key: "Digit8" }, |
| 211 | + 8: { key: "Digit8", shift: true }, |
| 212 | + "í": { key: "Digit9" }, |
| 213 | + 9: { key: "Digit9", shift: true }, |
| 214 | + "é": { key: "Digit0" }, |
| 215 | + 0: { key: "Digit0", shift: true }, |
| 216 | + "=": { key: "Minus" }, |
| 217 | + "%": { key: "Minus", shift: true }, |
| 218 | + "ú": { key: "BracketLeft" }, |
| 219 | + "/": { key: "BracketLeft", shift: true }, |
| 220 | + ")": { key: "BracketRight" }, |
| 221 | + "(": { key: "BracketRight", shift: true }, |
| 222 | + "ů": { key: "Semicolon" }, |
| 223 | + "\"": { key: "Semicolon", shift: true }, |
| 224 | + "§": { key: "Quote" }, |
| 225 | + "!": { key: "Quote", shift: true }, |
| 226 | + "'": { key: "Backslash", shift: true }, |
| 227 | + ",": { key: "Comma" }, |
| 228 | + "?": { key: "Comma", shift: true }, |
| 229 | + "<": { key: "Comma", altRight: true }, |
| 230 | + ".": { key: "Period" }, |
| 231 | + ":": { key: "Period", shift: true }, |
| 232 | + ">": { key: "Period", altRight: true }, |
| 233 | + "-": { key: "Slash" }, |
| 234 | + "_": { key: "Slash", shift: true }, |
| 235 | + "*": { key: "Slash", altRight: true }, |
| 236 | + "\\": { key: "IntlBackslash" }, |
| 237 | + "|": { key: "IntlBackslash", shift: true }, |
| 238 | + " ": { key: "Space" }, |
| 239 | + "\n": { key: "Enter" }, |
| 240 | + Enter: { key: "Enter" }, |
| 241 | + Tab: { key: "Tab" }, |
| 242 | +} as Record<string, KeyCombo>; |
0 commit comments