abouttreesummaryrefslogcommitdiff
path: root/srcs/compose
diff options
context:
space:
mode:
authorJules Aguillon2024-09-10 22:43:40 +0200
committerJules Aguillon2024-09-10 22:43:40 +0200
commitb600332595cdf7cf36e48e2bf185ef4d96ae146e (patch)
treeedc6752ce52daa81eaaa8993fd556990c8ebbbdb /srcs/compose
parente734d1d0e240e19c978c5ce26d171277fe3cb85a (diff)
downloadunexpected-keyboard-b600332595cdf7cf36e48e2bf185ef4d96ae146e.tar.gz
unexpected-keyboard-b600332595cdf7cf36e48e2bf185ef4d96ae146e.zip
Define the Fn modifier using the compose mechanism
This removes 100Kb from the app.
Diffstat (limited to 'srcs/compose')
-rw-r--r--srcs/compose/fn.json182
1 files changed, 182 insertions, 0 deletions
diff --git a/srcs/compose/fn.json b/srcs/compose/fn.json
new file mode 100644
index 0000000..5a977ba
--- /dev/null
+++ b/srcs/compose/fn.json
@@ -0,0 +1,182 @@
+{
+ "1": "f1",
+ "2": "f2",
+ "3": "f3",
+ "4": "f4",
+ "5": "f5",
+ "6": "f6",
+ "7": "f7",
+ "8": "f8",
+ "9": "f9",
+ "0": "f10",
+ "<": "«",
+ ">": "»",
+ "{": "‹",
+ "}": "›",
+ "[": "‘",
+ "]": "’",
+ "(": "“",
+ ")": "”",
+ "'": "‚",
+ "\"": "„",
+ "-": "–",
+ "_": "—",
+ "^": "¬",
+ "%": "‰",
+ "=": "≈",
+ "u": "µ",
+ "a": "æ",
+ "o": "œ",
+ "*": "°",
+ ".": "…",
+ ",": "·",
+ "!": "¡",
+ "?": "¿",
+ "|": "¦",
+ "§": "¶",
+ "†": "‡",
+ "×": "∙",
+ " ": "nbsp",
+ // arrows
+ "↖": "⇖",
+ "↑": "⇑",
+ "↗": "⇗",
+ "←": "⇐",
+ "→": "⇒",
+ "↙": "⇙",
+ "↓": "⇓",
+ "↘": "⇘",
+ "↔": "⇔",
+ "↕": "⇕",
+ // Currency symbols
+ "e": "€",
+ "l": "£",
+ "r": "₹",
+ "y": "¥",
+ "c": "¢",
+ "p": "₽",
+ "b": "₱",
+ "h": "₴",
+ "z": "₿",
+ // avoid showing these twice
+ "€": "removed",
+ "£": "removed",
+ // alternative greek letters
+ "π": "ϖ",
+ "θ": "ϑ",
+ "Θ": "ϴ",
+ "ε": "ϵ",
+ "β": "ϐ",
+ "ρ": "ϱ",
+ "σ": "ς",
+ "γ": "ɣ",
+ "φ": "ϕ",
+ "υ": "ϒ",
+ "κ": "ϰ",
+ // alternative math characters
+ "∪": "⋃",
+ "∩": "⋂",
+ "∃": "∄",
+ "∈": "∉",
+ "∫": "∮",
+ "Π": "∏",
+ "Σ": "∑",
+ "∨": "⋁",
+ "∧": "⋀",
+ "⊷": "⊶",
+ "⊂": "⊆",
+ "⊃": "⊇",
+ "±": "∓",
+ // hebrew niqqud
+ "ק": "qamats", // kamatz
+ "ר": "hataf_qamats", // reduced kamatz
+ "ו": "holam",
+ "ם": "rafe",
+ "פ": "patah", // patach
+ "ש": "sheva",
+ "ד": "dagesh", // or mapiq
+ "ח": "hiriq",
+ "ף": "hataf_patah", // reduced patach
+ "ז": "qubuts", // kubuts
+ "ס": "segol",
+ "ב": "hataf_segol", // reduced segol
+ "צ": "tsere",
+ // Devanagari symbols
+ "ए": "ऍ",
+ "े": "ॅ",
+ "ऐ": "ऎ",
+ "ै": "ॆ",
+ "ऋ": "ॠ",
+ "ृ": "ॄ",
+ "ळ": "ऴ",
+ "र": "ऱ",
+ "क": "क़",
+ "ख": "ख़",
+ "ग": "ग़",
+ "घ": "ॻ",
+ "ढ": "ढ़",
+ "न": "ऩ",
+ "ड": "ड़",
+ "ट": "ॸ",
+ "ण": "ॾ",
+ "फ": "फ़",
+ "ऌ": "ॡ",
+ "ॢ": "ॣ",
+ "औ": "ॵ",
+ "ौ": "ॏ",
+ "ओ": "ऒ",
+ "ो": "ॊ",
+ "च": "ॼ",
+ "ज": "ज़",
+ "ब": "ॿ",
+ "व": "ॺ",
+ "य": "य़",
+ "अ": "ॲ",
+ "आ": "ऑ",
+ "ा": "ॉ",
+ "झ": "ॹ",
+ "ई": "ॴ",
+ "ी": "ऻ",
+ "इ": "ॳ",
+ "ि": "ऺ",
+ "उ": "ॶ",
+ "ऊ": "ॷ",
+ "ु": "ऄ",
+ "ष": "क्ष",
+ "थ": "त्र",
+ "द": "द्र",
+ "प": "प्र",
+ "श": "श्र",
+ "छ": "श्च",
+ "ँ": "ऀ",
+ "₹": "₨",
+ "ॖ": "ॗ",
+ "॓": "॔",
+ "॰": "ॱ",
+ "।": "॥",
+ "ं": "ॕ",
+ "़": "ॎ",
+ "ऽ": "ॽ",
+ // Persian numbers
+ "۱": "f1",
+ "۲": "f2",
+ "۳": "f3",
+ "۴": "f4",
+ "۵": "f5",
+ "۶": "f6",
+ "۷": "f7",
+ "۸": "f8",
+ "۹": "f9",
+ // Arabic numbers
+ "۰": "f10",
+ "١": "f1",
+ "٢": "f2",
+ "٣": "f3",
+ "٤": "f4",
+ "٥": "f5",
+ "٦": "f6",
+ "٧": "f7",
+ "٨": "f8",
+ "٩": "f9",
+ "٠": "f10"
+}