Skip to content

French adaptive accent key on AZERTY (apostrophe/accent based on context) #32

Description

@Pivii

Context

iOS AZERTY row 3 has an adaptive key (FrenchAdaptiveKey namespace, refactored in v1.6.2): its label changes based on the preceding text — shows the most likely accent after a vowel (é after e…), apostrophe after consonant contexts like "qu". Long-press shows all variants. Android AZERTY currently has a static apostrophe key in row 3.

What to do

  • Port the FrenchAdaptiveKey decision rules (read context via InputConnection.getTextBeforeCursor)
  • Update the key label reactively as the user types
  • Long-press → full accent variant popup (existing AccentPopup)
  • French/AZERTY only (explicitly scoped, like iOS)

Acceptance criteria

  • Key shows contextually correct character (parity with iOS rules)
  • No lag on label updates while typing fast
  • Other layouts/languages unaffected

iOS reference: FrenchAdaptiveKey in DictusCore (v1.6.2 refactor notes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestios-parityiOS v1.7.1 parity catch-up

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions