-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLDR-15034 kbd: move pcm keyboard to 3.0 format (#3123)
- Loading branch information
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE keyboard3 SYSTEM '../dtd/ldmlKeyboard3.dtd'> | ||
<keyboard3 locale="pcm" conformsTo="techpreview"> | ||
<version number="1.0.0" /> | ||
<names> | ||
<name value="Nigerian Pidgin" /> | ||
<name value="Naijíriá Píjin" /> | ||
</names> | ||
<settings fallback="omit" /> | ||
<keys> | ||
<import base="cldr" path="techpreview/keys-Zyyy-punctuation.xml" /> | ||
<import base="cldr" path="techpreview/keys-Zyyy-currency.xml" /> | ||
<key id="grave" to="\u{300}" /> | ||
<key id="backquote" to="`" /> | ||
<key id="acute" to="\u{301}" /> | ||
|
||
<!-- accented vowels --> | ||
<key id="odot" to="ọ" /> | ||
<key id="Odot" to="Ọ" /> | ||
<key id="edot" to="ẹ" /> | ||
<key id="Edot" to="Ẹ" /> | ||
|
||
<!-- currency --> | ||
<key id="naira" to="₦" /> | ||
</keys> | ||
|
||
<layers form="iso"> | ||
<layer modifier="none"> | ||
<row keys="grave 1 2 3 4 5 6 7 8 9 0 hyphen equal" /> | ||
<row keys="acute w e r t y u i o p open-square close-square" /> | ||
<row keys="a s d f g h j k l odot edot slash" /> | ||
<row keys="slash z c v b n m comma period semi-colon apos" /> | ||
<row keys="space" /> | ||
</layer> | ||
|
||
<layer modifier="shift"> | ||
<row keys="grave bang at hash dollar naira percent amp asterisk open-paren close-paren underscore plus" /> | ||
<row keys="A S D F G H J K L Odot Edot question" /> | ||
<row keys="A S D F G H J K L Odot Edot" /> | ||
<row keys="question Z C V B N M open-angle close-angle colon double-quote" /> | ||
<row keys="space" /> | ||
</layer> | ||
|
||
<layer modifier="caps"> | ||
<row keys="backquote 1 2 3 4 5 6 7 8 9 0 hyphen equal" /> | ||
<row keys="Q W E R T Y U I O P open-square close-square" /> | ||
<row keys="A S D F G H J K L Odot Edot slash" /> | ||
<row keys="slash Z C V B N M comma period semi-colon apos" /> | ||
<row keys="space" /> | ||
</layer> | ||
|
||
</layers> | ||
|
||
<transforms type="simple"> | ||
<transformGroup> | ||
<transform from="''" to="\u{323}" /> <!-- Quick way to add dot below --> | ||
</transformGroup> | ||
</transforms> | ||
</keyboard3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE keyboardTest3 SYSTEM "../dtd/ldmlKeyboardTest3.dtd"> | ||
<keyboardTest3 conformsTo="techpreview"> | ||
<info keyboard="pcm.xml" author="Team Keyboard" name="pcm-test" /> | ||
<repertoire name="simple-repertoire" chars="[a b c d e ọ Ọ ẹ Ẹ ₦]" type="simple" /> | ||
<tests name="key-tests"> | ||
<test name="abc-test"> | ||
<startContext to="abc" /> | ||
<keystroke key="d" /> | ||
<check result="abcd" /> | ||
</test> | ||
<test name="dot-below-test"> | ||
<startContext to="" /> | ||
<keystroke key="e" /> | ||
<keystroke key="apos" /> | ||
<check result="e'" /> | ||
<keystroke key="apos" /> | ||
<check result="e\u{323}" /> | ||
</test> | ||
</tests> | ||
</keyboardTest3> |