abouttreesummaryrefslogcommitdiff
path: root/srcs/compose/shift.json
diff options
context:
space:
mode:
authorZitrone2024-10-05 09:06:24 +0000
committerGitHub2024-10-05 11:06:24 +0200
commit6fae23a4327a7144f496c0fe079ad9b40a1313e1 (patch)
tree5f5db2331027bba580f51cf4d11e56eedf24de8d /srcs/compose/shift.json
parent6e2494ca0bf545a761eaa56bc1d0398875f239d8 (diff)
downloadunexpected-keyboard-6fae23a4327a7144f496c0fe079ad9b40a1313e1.tar.gz
unexpected-keyboard-6fae23a4327a7144f496c0fe079ad9b40a1313e1.zip
compose/accent_*.json: improvements (more accents) (#770)
compose/accent_*.json: improve/complete implementation compose/shift.json: uppercase for superscript letters & characters without preapplied uppercase versions
Diffstat (limited to 'srcs/compose/shift.json')
-rw-r--r--srcs/compose/shift.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/srcs/compose/shift.json b/srcs/compose/shift.json
index 3c52024..57e3490 100644
--- a/srcs/compose/shift.json
+++ b/srcs/compose/shift.json
@@ -18,7 +18,38 @@
"┐": "╗",
"─": "═",
"│": "║",
+ // superscript
+ "ᵃ": "ᴬ",
+ "ᵇ": "ᴮ",
+ "ᶜ": "ꟲ",
+ "ᵈ": "ᴰ",
+ "ᵉ": "ᴱ",
+ "ᶠ": "ꟳ",
+ "ᵍ": "ᴳ",
+ "ʰ": "ᴴ",
+ "ⁱ": "ᴵ",
+ "ʲ": "ᴶ",
+ "ᵏ": "ᴷ",
+ "ˡ": "ᴸ",
+ "ᵐ": "ᴹ",
+ "ⁿ": "ᴺ",
+ "ᵒ": "ᴼ",
+ "ᵖ": "ᴾ",
+ "ʳ": "ᴿ",
+ "ᵗ": "ᵀ",
+ "ᵘ": "ᵁ",
+ "ᵛ": "ⱽ",
+ "ʷ": "ᵂ",
+ "ᶾ": "ᴣ",
+ "ᵠ": "ᶲ",
+ // german eszett has an uppercase, but because it is uncommon, java doesn't know about it
"ß": "ẞ",
+ // these characters don't have a preapplied uppercase version, so we use combining characters
+ "ẗ": "T\u0308",
+ "ẘ": "W\u030A",
+ "ẙ": "Y\u030A",
+ "ǰ": "J\u030C",
+ "ȷ": "J\u0307",
// In Turkish, upper case of 'iı' is 'İI' but Java's toUpperCase will
// return 'II'. To make 'İ' accessible, make it the shift of 'ı'. This
// has the inconvenient of swapping i and ı on the keyboard.