nixos-config/extra/fcitx-table-extra.patch
Charlotte 🦝 Delenk 919f5d87b1
Add custom lojban keyboard layout
the zbalermorna table from [[66052d3d57]] wasn’t satisfactory, so I created a keyboard layout based on neo2 for lojban.
cf [[202307291336 - Custom lojban keyboard]], [[202307291348 - Custom Keyboard Layouts on NixOS]]
2023-07-29 13:54:19 +01:00

213 lines
2.8 KiB
Diff

diff --git a/tables/CMakeLists.txt b/tables/CMakeLists.txt
index 9980fba..0ff6ee7 100644
--- a/tables/CMakeLists.txt
+++ b/tables/CMakeLists.txt
@@ -5,6 +5,7 @@ set(TABLE_NAME
wubi-large zhengma-large zhengma-pinyin
t9
wubi98 wubi98-pinyin wubi98-single
+ sitelen-pona
)
set(MB_FILE)
diff --git a/tables/sitelen-pona.conf.in b/tables/sitelen-pona.conf.in
new file mode 100644
index 0000000..faf00bf
--- /dev/null
+++ b/tables/sitelen-pona.conf.in
@@ -0,0 +1,40 @@
+[InputMethod]
+Name=sitelen pona
+Icon=fcitx-sitelen-pona
+Label=󱥬
+LangCode=tok
+Addon=table
+Configurable=True
+
+[Table]
+File=table/sitelen-pona.main.dict
+OrderPolicy=No
+PinyinKey=[
+AutoSelect=False
+MatchingKey=@
+ExactMatch=False
+Hint=True
+DisplayCustomHint=True
+IgnorePunc=True
+PageSize=9
+CandidateLayoutHint=Vertical
+
+[Table/Selection]
+0=Alt+1
+1=Alt+2
+2=Alt+3
+3=Alt+4
+4=Alt+5
+5=Alt+6
+6=Alt+7
+7=Alt+8
+8=Alt+9
+9=Alt+0
+
+[Table/PrevPage]
+0=Up
+1=Page_Up
+
+[Table/NextPage]
+0=Down
+1=Page_Down
diff --git a/tables/sitelen-pona.txt b/tables/sitelen-pona.txt
new file mode 100644
index 0000000..e2ea155
--- /dev/null
+++ b/tables/sitelen-pona.txt
@@ -0,0 +1,149 @@
+Length=20
+KeyCode=abcdefghijklmnopqrstuvwxyz[]_'
+[Data]
+a 󱤀
+akesi 󱤁
+ala 󱤂
+alasa 󱤃
+ale 󱤄
+anpa 󱤅
+ante 󱤆
+anu 󱤇
+awen 󱤈
+e 󱤉
+en 󱤊
+esun 󱤋
+ijo 󱤌
+ike 󱤍
+ilo 󱤎
+insa 󱤏
+jaki 󱤐
+jan 󱤑
+jelo 󱤒
+jo 󱤓
+kala 󱤔
+kalama 󱤕
+kama 󱤖
+kasi 󱤗
+ken 󱤘
+kepeken 󱤙
+kili 󱤚
+kiwen 󱤛
+ko 󱤜
+kon 󱤝
+kule 󱤞
+kulupu 󱤟
+kute 󱤠
+la 󱤡
+lape 󱤢
+laso 󱤣
+lawa 󱤤
+len 󱤥
+lete 󱤦
+li 󱤧
+lili 󱤨
+linja 󱤩
+lipu 󱤪
+loje 󱤫
+lon 󱤬
+luka 󱤭
+lukin 󱤮
+lupa 󱤯
+ma 󱤰
+mama 󱤱
+mani 󱤲
+meli 󱤳
+mi 󱤴
+mije 󱤵
+moku 󱤶
+moli 󱤷
+monsi 󱤸
+mu 󱤹
+mun 󱤺
+musi 󱤻
+mute 󱤼
+nanpa 󱤽
+nasa 󱤾
+nasin 󱤿
+nena 󱥀
+ni 󱥁
+nimi 󱥂
+noka 󱥃
+o 󱥄
+olin 󱥅
+ona 󱥆
+open 󱥇
+pakala 󱥈
+pali 󱥉
+palisa 󱥊
+pan 󱥋
+pana 󱥌
+pi 󱥍
+pilin 󱥎
+pimeja 󱥏
+pini 󱥐
+pipi 󱥑
+poka 󱥒
+poki 󱥓
+pona 󱥔
+pu 󱥕
+sama 󱥖
+seli 󱥗
+selo 󱥘
+seme 󱥙
+sewi 󱥚
+sijelo 󱥛
+sike 󱥜
+sin 󱥝
+sina 󱥞
+sinpin 󱥟
+sitelen 󱥠
+sona 󱥡
+soweli 󱥢
+suli 󱥣
+suno 󱥤
+supa 󱥥
+suwi 󱥦
+tan 󱥧
+taso 󱥨
+tawa 󱥩
+telo 󱥪
+tenpo 󱥫
+toki 󱥬
+tomo 󱥭
+tu 󱥮
+unpa 󱥯
+uta 󱥰
+utala 󱥱
+walo 󱥲
+wan 󱥳
+waso 󱥴
+wawa 󱥵
+weka 󱥶
+wile 󱥷
+namako 󱥸
+kin 󱥹
+oko 󱥺
+kipisi 󱥻
+leko 󱥼
+monsuta 󱥽
+tonsi 󱥾
+jasima 󱥿
+kijetesantakalu 󱦀
+soko 󱦁
+meso 󱦂
+epiku 󱦃
+kokosila 󱦄
+lanpan 󱦅
+n 󱦆
+misikeke 󱦇
+ku 󱦈
+pake 󱦠
+apeja 󱦡
+majuna 󱦢
+powe 󱦣
+[ 󱦐
+] 󱦑
+_ 󱦒
+pi_ 󱦓
+' 󱦔