diff --git a/docs/ldml/tr35-keyboards.md b/docs/ldml/tr35-keyboards.md index b8c2b88fb9a..c1699cc9db7 100644 --- a/docs/ldml/tr35-keyboards.md +++ b/docs/ldml/tr35-keyboards.md @@ -78,7 +78,8 @@ The LDML specification is divided into the following parts: * [Element: keys](#Element_keys) * [Element: key](#Element_key) * [Implied Keys](#implied-keys) - * [Elements: flicks, flick](#Element_flicks) + * [Elements: flicks](#Element_flicks) + * [Elements: flick, flickSegment](#Element_flick) * [Element: import](#Element_import) * [Element: displays](#Element_displays) * [Element: display](#Element_display) @@ -274,7 +275,7 @@ Currently, the following attribute values allow _UnicodeSet_ notation: The `\u{...}` notation, a subset of hex notation, is described in [UTS #18 section 1.1](https://www.unicode.org/reports/tr18/#Hex_notation). It can refer to one or multiple individual codepoints. Currently, the following attribute values allow the `\u{...}` notation: * `to`, `longPress`, `multiTap`, and `longPressDefault` on the `` element -* `to` on the `` element +* `to` on the `` element * `from` or `to` on the `` element * `value` on the `` element * `to` and `display` on the `` element @@ -332,7 +333,7 @@ This is the top level element. All other elements defined below are under this e > > Parents: _none_ > -> Children: [displays](#Element_displays), [import](#Element_import), [info](#Element_info), [keys](#Element_keys), [layers](#Element_layers), [locales](#Element_locales), [settings](#Element_settings), [_special_](tr35.md#special), [transforms](#Element_transforms), [variables](#Element_variables), [version](#Element_version) +> Children: [displays](#Element_displays), [import](#Element_import), [info](#Element_info), [keys](#Element_keys), [flicks](#Element_flicks), [layers](#Element_layers), [locales](#Element_locales), [settings](#Element_settings), [_special_](tr35.md#special), [transforms](#Element_transforms), [variables](#Element_variables), [version](#Element_version) > > Occurrence: required, single > @@ -592,18 +593,13 @@ There is only a single `` element in each layout. - - - ``` -`key` and `flicks` elements may be interleaved in any order. - > > > Parents: [keyboard3](#Element_keyboard) -> Children: [key](#Element_key), [flicks](#Element_flicks) +> Children: [key](#Element_key) > Occurrence: optional, single > > @@ -824,24 +820,47 @@ Thus, the implied keys behave as if the following import were present. * * * -#### Elements: flicks, flick +#### Elements: flicks + +The `flicks` element is a collection of `flick` elements. + +> +> +> Parents: [keyboard3](#Element_keyboard3) +> +> Children: [flick](#Element_flick), [import](#Element_import), [_special_](tr35.md#special) +> +> Occurrence: optional, single +> + +* * * + +#### Elements: flick, flickSegment -The `flicks` element is used to generate results from a "flick" of the finger on a mobile device. +The `flick` element is used to generate results from a "flick" of the finger on a mobile device. **Syntax** ```xml - - - {a set of flick elements} - + + + + + + + + + + + + ``` > > -> Parents: [keys](#Element_keys) +> Parents: [flicks](#Element_flicks) > -> Children: [flick](#Element_flick), [_special_](tr35.md#special) +> Children: [flickSegment](#Element_flickSegment), [_special_](tr35.md#special) > > Occurrence: optional, multiple > @@ -851,8 +870,8 @@ _Attribute:_ `id` (required) > The `id` attribute identifies the flicks. It can be any NMTOKEN. > -> The `flicks` do not share a namespace with the `key`s, so it would also be allowed -> to have `` +> The `flick` elements do not share a namespace with the `key`s, so it would also be allowed +> to have `` > > In the future, this attribute’s definition is expected to be updated to align with [UAX#31](https://www.unicode.org/reports/tr31/). Please see [CLDR-17043](https://unicode-org.atlassian.net/browse/CLDR-17043) for more details. @@ -860,12 +879,12 @@ _Attribute:_ `id` (required) **Syntax** ```xml - + ``` > > -> Parents: [flicks](#Element_flicks) +> Parents: [flick](#Element_flick) > > Children: _none_ > @@ -885,9 +904,9 @@ _Attribute:_ `to` (required) where a flick to the Northeast then South produces two code points. ```xml - - - + + + ``` * * * @@ -910,7 +929,7 @@ If two identical elements are defined, the later element will take precedence, t ``` > > -> Parents: [displays](#Element_displays), [keyboard3](#Element_keyboard), [keys](#Element_keys), [layers](#Element_layers), [names](#Element_names), [reorders](#Element_reorders), [transformGroup](#Element_transformGroup), [transforms](#Element_transforms), [variables](#Element_variables) +> Parents: [displays](#Element_displays), [keyboard3](#Element_keyboard), [keys](#Element_keys), [flicks](#Element_flicks), [layers](#Element_layers), [names](#Element_names), [reorders](#Element_reorders), [transformGroup](#Element_transformGroup), [transforms](#Element_transforms), [variables](#Element_variables) > Children: _none_ > > Occurrence: optional, multiple @@ -2701,7 +2720,7 @@ This attribute specifies a key by means of the key’s `id` attribute. _Attribute:_ `flick` -This attribute specifies a flick gesture to be performed on the specified key instead of a keypress, such as `e` or `nw se`. This value corresponds to the `directions` attribute of the [``](#Element_flicks) element. +This attribute specifies a flick gesture to be performed on the specified key instead of a keypress, such as `e` or `nw se`. This value corresponds to the `directions` attribute of the [``](#Element_flickSegment) element. _Attribute:_ `longPress` diff --git a/keyboards/3.0/fr-t-k0-azerty.xml b/keyboards/3.0/fr-t-k0-azerty.xml index f9a39ab80fd..a210f1ecc3a 100644 --- a/keyboards/3.0/fr-t-k0-azerty.xml +++ b/keyboards/3.0/fr-t-k0-azerty.xml @@ -67,10 +67,12 @@ - - - - + + + + + + diff --git a/keyboards/dtd/ldmlKeyboard3.dtd b/keyboards/dtd/ldmlKeyboard3.dtd index 5e0d7e4c458..a667f0f12d2 100644 --- a/keyboards/dtd/ldmlKeyboard3.dtd +++ b/keyboards/dtd/ldmlKeyboard3.dtd @@ -10,7 +10,7 @@ The CLDR Keyboard Subcommittee is currently developing major changes to the CLDR Please view the subcommittee page for the most recent information. --> - + @@ -89,7 +89,7 @@ Please view the subcommittee page for the most recent information. - + @@ -126,16 +126,18 @@ Please view the subcommittee page for the most recent information. - + + + - + - + - + - + diff --git a/keyboards/dtd/ldmlKeyboard3.xsd b/keyboards/dtd/ldmlKeyboard3.xsd index ee10f8040ef..f780408bf53 100644 --- a/keyboards/dtd/ldmlKeyboard3.xsd +++ b/keyboards/dtd/ldmlKeyboard3.xsd @@ -26,6 +26,7 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file + @@ -165,10 +166,7 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file - - - - + @@ -231,7 +229,16 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file - + + + + + + + + + + @@ -239,7 +246,7 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file - +