Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more button labels for on-screen keyboards #13

Open
snomos opened this issue Jun 28, 2023 · 1 comment
Open

Support more button labels for on-screen keyboards #13

snomos opened this issue Jun 28, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@snomos
Copy link
Member

snomos commented Jun 28, 2023

There are more buttons with text labels than we have used so far. The following is a number of strings needing support in kbdgen, at least so that kbdgen won't stop because of them (some of them are already supported, but included for completeness):

keyNames:
  space: gaska
  return: "linnjá\u00ADmolsun" # or use ⏎ for some or all variants, both default and below
  return-alts:
    search: your-word-for-search  # when pressing the return key triggers a search
    go: your-word-for-go-or-open  # when pressing the return key goes to or opens a URL
    send: your-word-for-send      # when pressing the return key sends e.g. an instant message
    join: your-word-for-join      # when pressing the return key joins a wifi net or similar
    cancel: your-word-for-cancel  # when pressing the return key cancels an action
    continue: your-word-for-cont  # when pressing the return key continues a process
    done: your-word-for-done      # when pressing the return key finishes a process
    emergency: word-for-emergency-call # when pressing the return key triggers an emergency call
    next: word-for-next           # when pressing the return key takes you to the next field or similar
    route: word-for-route         # when pressing the return key finds a route or some direction to go
  undo: your-word-for-undo # or a symbol
  redo: your-word-for-redo # or a symbol

See e.g. https://developer.apple.com/documentation/uikit/uireturnkeytype/ and similar for other OS's.

The present setup is just:

keyNames:
  space: gaska
  return: "linnjá\u00ADmolsun"

When support for these strings is added to kbdgen, the layout files must be updated accordingly.

@snomos snomos added the enhancement New feature or request label Jun 28, 2023
@snomos snomos changed the title Support more button labels Support more button labels for on-screen keyboards Jun 29, 2023
@dylanhand dylanhand assigned alvskar and unassigned dylanhand Jun 29, 2023
@snomos snomos assigned dylanhand and unassigned dylanhand Jun 29, 2023
@snomos
Copy link
Member Author

snomos commented Jun 29, 2023

The string specification layout is hard-coded into kbdgen. The new keys will be added as comments for the time being, so that we can start working on them without interfering with the build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants