Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hindi Phonetic Keyboard Layout addition #837

Merged
merged 7 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions check_layout.output
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ Layout doesn't define some important keys, missing: loc esc, loc tab
Duplicate keys: ।
Layout includes some ASCII punctuation but not all, missing: ", $, ', ^, _, `, |
2 warnings
# deva_phonetic_in
Duplicate keys: ट
1 warnings
# georgian_mes
0 warnings
# georgian_qwerty
Expand Down
3 changes: 3 additions & 0 deletions res/values/layouts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<item>cyrl_yxukeng_os</item>
<item>deva_alt</item>
<item>deva_inscript</item>
<item>deva_phonetic_in</item>
<item>georgian_mes</item>
<item>georgian_qwerty</item>
<item>grek_qwerty</item>
Expand Down Expand Up @@ -100,6 +101,7 @@
<item>Old Church Slavonic (Црькъвьнословѣньскъ ѩзыкъ)</item>
<item>देवनागरी (हिंदी)-2</item>
<item>देवनागरी (हिंदी)-1</item>
<item>हिन्दी फोनेटिक - Hindi Phonetic</item>
<item>ქართული (MES)</item>
<item>ქართული (QWERTY)</item>
<item>QWERTY (Greek)</item>
Expand Down Expand Up @@ -174,6 +176,7 @@
<item>@xml/cyrl_yxukeng_os</item>
<item>@xml/deva_alt</item>
<item>@xml/deva_inscript</item>
<item>@xml/deva_phonetic_in</item>
<item>@xml/georgian_mes</item>
<item>@xml/georgian_qwerty</item>
<item>@xml/grek_qwerty</item>
Expand Down
42 changes: 42 additions & 0 deletions srcs/layouts/deva_phonetic_in.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8" ?>
<keyboard name="हिन्दी फोनेटिक - Hindi Phonetic" script="devanagari">
<modmap>
<shift a="ड़" b="ढ़" />
<shift a="क़" b="ख़" />
<shift a= "ज्ञ" b="ञ" />
</modmap>
<row>
<key key0="ट" key1="`" key2="1" key3="!" key4="loc esc"/>
<key key0="ड" key1="~" key2="2" key3="\@" />
<key key0="े" key1="ए" key2="3" key3="\#" key4="$" />
<key key0="र" key1="ऋ" key2="4" key3="ृ" key4="₹"/>
<key key0="त" key1="ट" key2="5" key3="%" key4="त्र"/>
<key key0="य" key2="6" key3="^"/>
<key key0="ु" key1="उ" key2="7" key3="&amp;"/>
<key key0="ि" key1="इ" key2="8" key3="*" />
<key key0="ो" key1="ओ" key2="9" key3="(" key4=")"/>
<key key0="प" key1="०" key2="0" key4="॒"/>
</row>
<row>
<key shift="0.5" key0="ा" key1="loc tab" key3="अ"/>
<key key0="स" key1="श्र" key3="“" key4="”"/>
<key key0="द" key1="ड़" key3="‘" key4="’"/>
<key key0="फ" key1="फ़" key3="़" />
<key key0="ग" key1="ग़" key2="-" key3="_"/>
<key key0="ह" key2="=" key3="+" key4="्"/>
<key key0="ज" key1="ज़" key3="{" key4="}"/>
<key key0="क" key1="क़" key3="[" key4="]"/>
<key key0="ल" key1="ऌ" key2="।" key3 ="ॢ" key4="॥"/>
</row>
<row>
<key width="1.5" key0="shift" key2="loc capslock"/>
<key key0="ज्ञ" key2="|" key3="\\" key4="ऍ"/>
<key key0="ष" key1="क्ष" key3 ="ॅ" key4="ॉ"/>
<key key0="च" key2="&lt;" key3=","/>
<key key0="व" key2=">" key3="."/>
<key key0="ब" key2="\?" key3="/"/>
<key key0="न" key1="ङ" key2=":" key3=";" key4="ऽ"/>
<key key0="म" key1="ॐ" key2="&quot;" key3="'" key4="ँ"/>
<key width="1.5" key0="backspace" key2="delete"/>
</row>
</keyboard>
Loading