Skip to content

Commit

Permalink
CLDR-17113 kbd: no nested gestures
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Oct 11, 2023
1 parent 2ddc18a commit 490827f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/ldml/tr35-keyboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,8 @@ _Attribute:_ `longPressKeyIds="{list of key ids}"` (optional)
>
> In a list of keys specified by `longPressKeyIds`, the key matching `longPressDefaultKeyId` attribute (if present) specifies the default long-press target, which could be different than the first element. It is an error if the `longPressDefaultKeyId` key is not in the `longPressKeyIds` list.
>
> Gestures are not nested: other gestures (such as flick, multiTap, longPress) are ignored on the keys in the `longPressKeyIds` list.
>
> For example, if the default key is a key whose [display](#Element_displays) value is `{`, an implementation might render the key as follows:
>
> ![keycap hint](images/keycapHint.png)
Expand Down Expand Up @@ -696,6 +698,8 @@ _Attribute:_ `multiTapKeyIds` (optional)
> A space-separated ordered list of `key` element ids, which keys, where each successive key in the list is produced by the corresponding number of quick taps.
> It is an error for a key to reference itself in the `multiTapKeyIds` list.
>
> Gestures are not nested: other gestures (such as flick, multiTap, longPress) are ignored on the keys in the `multiTapKeyIds` list.
>
> _Example:_
> - first tap on the key will produce “a”
> - two taps will produce “bb”
Expand Down Expand Up @@ -925,6 +929,9 @@ _Attribute:_ `directions` (required)
_Attribute:_ `keyId` (required)

> The `keyId` attribute value is the result of (one or more) flicks.
>
> Gestures are not nested: other gestures (such as flick, multiTap, longPress) are ignored on the key referenced by `keyId`.

**Example**
where a flick to the Northeast then South produces `Å`.
Expand Down

0 comments on commit 490827f

Please sign in to comment.