Skip to content

Commit

Permalink
CLDR-16604 kbd: complete scancode data (unicode-org#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Sep 21, 2023
1 parent aa441d0 commit f16d666
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/ldml/tr35-keyboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,7 @@ Here is a summary of the implied form elements. Keyboards included in the CLDR R
> - `iso` - European 102 key layout (extra key near left shift)
> - `jis` - Japanese 109 key layout
> - `us` - ANSI 101 key layout
> - `ks` - Korean KS layout
* * *

Expand Down
37 changes: 31 additions & 6 deletions keyboards/import/scanCodes-implied.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,45 @@
Values are space separated hex bytes.
Frame keys are not included.
-->

<form id="us">
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D" /> <!-- 13 keys, ` to = -->
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B 2B" /> <!-- 13 keys, Q to \ -->
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28" /> <!-- 11 keys, A to ' -->
<scanCodes codes="2C 2D 2E 2F 30 31 32 33 34 35" /> <!-- 10 keys, Z to / -->
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
</form>
<!-- TODO: fill in iso, etc. -->
<form id="iso" />
<form id="abnt2" />
<form id="jis" />
<form id="iso">
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D" /> <!-- 13 keys -->
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28 2B" /> <!-- 12 keys -->
<scanCodes codes="56 2C 2D 2E 2F 30 31 32 33 34 35" /> <!-- 11 keys-->
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
</form>
<form id="abnt2">
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D" /> <!-- 13 keys -->
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28 2B" /> <!-- 12 keys -->
<scanCodes codes="56 2C 2D 2E 2F 30 31 32 33 34 35 73" /> <!-- 12 keys-->
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
</form>
<form id="jis">
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 7D" /> <!-- 14 keys -->
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28 2B" /> <!-- 12 keys -->
<scanCodes codes="56 2C 2D 2E 2F 30 31 32 33 34 35 73" /> <!-- 12 keys-->
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
</form>
<form id="ks">
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 7D" /> <!-- 14 keys -->
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B 2B" /> <!-- 13 keys -->
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28" /> <!-- 11 keys -->
<scanCodes codes="2C 2D 2E 2F 30 31 32 33 34 35" /> <!-- 10 keys, Z to / -->
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
</form>

<!--
"touch" is not a hardware layout form, and so is not defined here.
<form id="touch"/>
<form id="touch"/>
-->
</forms>
</forms>

0 comments on commit f16d666

Please sign in to comment.