1 <appendix id='canonical_key_types'>
2 <title>Canonical Key Types</title>
4 <sect1 id='Canonical_Key_Types'>
5 <title>Canonical Key Types</title>
6 <sect2 id='The_ONE_LEVEL_Key_Type'>
7 <title>The ONE_LEVEL Key Type</title>
12 key type describes groups that have only one symbol. The default <emphasis>
14 type has no map entries and does not pay attention to any modifiers.
18 <sect2 id='The_TWO_LEVEL_Key_Type'>
19 <title>The TWO_LEVEL Key Type</title>
24 key type describes groups that have two symbols but are neither alphabetic nor
25 numeric keypad keys. The default <emphasis>
27 type uses only the <emphasis>
29 modifier. It returns level two if <emphasis>
31 is set, level one if it is not.
36 <sect2 id='The_ALPHABETIC_Key_Type'>
37 <title>The ALPHABETIC Key Type</title>
42 key type describes groups that consist of two symbols — the lowercase form
43 of a symbol followed by the uppercase form of the same symbol. The default
46 type implements locale-sensitive "shift cancels caps lock" behavior using both
60 are both set, the default <emphasis>
62 type yields level one.
68 alone is set, it yields level two.
74 alone is set, it yields level one but preserves the <emphasis>
80 <para>If neither <emphasis>
84 are set, it yields level one.
90 <sect2 id='The_KEYPAD_Key_Type'>
91 <title>The KEYPAD Key Type</title>
96 key type describes that consist of two symbols, at least one of which is a
97 numeric keypad symbol. The default <emphasis>
99 type implements "shift cancels numeric lock" behavior using the <emphasis>
101 modifier and the real modifier bound to the virtual modifier named "NumLock"
102 (the "NumLock" modifier) as follows:
109 and the "NumLock" modifier are both set, the default <emphasis>
111 type yields level one.
115 <para>If either <emphasis>
117 or the "NumLock" modifier alone are set, it yields level two.
121 <para>If neither <emphasis>
123 nor the "NumLock" modifier are set, it yields level one.